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.

Bug 176150 - [68cat] Editor errors happen for Swing packages at Run in Mobile emulator mode
Summary: [68cat] Editor errors happen for Swing packages at Run in Mobile emulator mode
Status: VERIFIED INVALID
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-09 00:30 UTC by Masaki Katakai
Modified: 2009-11-18 04:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample project (8.97 KB, application/zip)
2009-11-09 00:30 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2009-11-09 00:30:10 UTC
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.
Comment 1 J Bachorik 2009-11-13 07:45:27 UTC
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.
Comment 2 Alexandr Scherbatiy 2009-11-18 04:18:43 UTC
Verified.
Swing components are not supported in the Mobile profile.