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

Inconsistent API between Media and Image class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • fx2.0
    • javafx
    • JavaFX 2.0 build 34.

      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".

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

              Created:
              Updated:
              Resolved:
              Imported: