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

Inconsistent API between Media and Image class

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P4
    • Resolution: Duplicate
    • fx2.0
    • tbd
    • javafx
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported: