Minor typo in CheckBox Javadoc
    Martin Desruisseaux 
    martin.desruisseaux at geomatys.fr
       
    Mon May 28 14:22:34 PDT 2012
    
    
  
Hello all
There is a very minor typo in the example code provided in this page:
     http://docs.oracle.com/javafx/2/api/javafx/scene/control/CheckBox.html
The following line:
     Checkbox cb = new Checkbox("a checkbox");
should have an upper-case "B" for "CheckBox". With the lower-case 
letter, the NetBeans auto-completion imports the java.awt.Checkbox class 
instead than the JavaFX one.
     Regards,
         Martin
    
    
More information about the openjfx-dev
mailing list