Minor typo in CheckBox Javadoc

Richard Bair richard.bair at oracle.com
Wed May 30 09:26:53 PDT 2012


Thanks Martin, I've pushed a fix which should show up in next weeks build.
http://javafx-jira.kenai.com/browse/RT-21914

Richard

On May 28, 2012, at 2:22 PM, Martin Desruisseaux wrote:

> 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