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

TabPane JavaDoc has syntax errors

    XMLWordPrintable

    Details

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

      Description

      See: http://download.oracle.com/javafx/2.0/api/javafx/scene/control/TabPane.html

      Missing " in tab.setText("new tab); and Extra semicolon in tab.setContent(new Rectangle(200,200, Color.LIGHTSTEELBLUE););

       TabPane tabPane = new TabPane();
       Tab tab = new Tab();
       tab.setText("new tab);
       tab.setContent(new Rectangle(200,200, Color.LIGHTSTEELBLUE););
       tabPane.getTabs().add(tab);

        Attachments

          Activity

            People

            Assignee:
            kwwong Kinsley Wong
            Reporter:
            josmithjfx John Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: