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

TabPane JavaDoc has syntax errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.0.2
    • fx2.0
    • javafx

      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);

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

              Created:
              Updated:
              Resolved:
              Imported: