This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Steps to reproduce: - Type in the editor 'import java.lang.Math.' - Press <Ctrl+Space> and select 'cos' The result is ---------------------------------------- import java.lang.Math.cos(arg0); ---------------------------------------- JavaFXApplication8\src\javafxapplication8\Main.fx:19: You have forgotten the ';', which is needed to separate one expression from the next. import java.lang.Math.cos(arg0); 1 error
JavaFX_NB_Plugin_NB65_promoted: #48 2008-10-23_03-01-09.zip Product Version = NetBeans IDE 6.5 RC1 (Build 200810171318) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.5.0_09; Java HotSpot(TM) Client VM 1.5.0_09-b03; Sun Microsystems Inc.
This can be done post 1.0.
Fixed while generally improving completion in imports: http://hg.netbeans.org/javafx/rev/eb4360a6a76e http://hg.netbeans.org/javafx/rev/a419f22c643f
verified in NetBeans-JavaFX-Soma: #185