Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8088930

Inconsistent API between Media and Image class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: fx2.0
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
    • Environment:

      JavaFX 2.0 build 34.

      Description

      The Image class has several constructors so that you can load an image from a file or a stream in addition to an URL, whereas the Media class only supports loading from an URL. Why is there such an inconsistency? The javadoc also has a little bug. The parameter is currently called "source" but in the parameter description it is named "sourceURI".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dpausjfx Dr. Michael Paus (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: