[JavaDoc] Mispelling in MediaView Constructor documentation

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 8u20, 9
    • Component/s: javafx
    • Environment:

      Windows - JavaFX API Doc

      Please refer to the following snippet of code in the API doc for MediaView constructor
      "public MediaView(MediaPlayer mediaPlayer)"
      ----------------------------------------------------------------------
      MediaPlayer player; // initialization omitted
       MediaView view = new MediaView();
       view.setPlayer(player);
      -----------------------------------------------------------------

      The last statement should use setMediaPlayer() method instead of setPlayer() method.

            Assignee:
            David Dehaven (Inactive)
            Reporter:
            Kishori Sharan (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: