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.
Created attachment 90568 [details] sample project Product Version: NetBeans IDE Dev (Build 200911070201) Java: 1.6.0_17; Java HotSpot(TM) Client VM 14.3-b01 System: Windows XP version 5.1 running on x86; MS932; en (nb) Userdir: C:\Documents and Settings\test\.netbeans\dev When execution model is "Run in Mobile Emulator", import javafx.ext.swing.* becomes errors on Editor. However, compiling the project will succeed. Editor should not detect the error. Try to open the sample project in attachment. When I change execution model to other, editor error disappears.
According to http://java.sun.com/javafx/1/reference/releasenotes/javafx-sdk-release-notes-1-2.html the "javafx.ext.swing" package is not a part of the common profile and hence it can not work on mobile devices. Also, a search through provided libraries in <javafx-sdk>/lib/shared yields no results. Therefore the editor can not resolve the classes and packages.
Verified. Swing components are not supported in the Mobile profile.