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.
Product Version: NetBeans IDE 6.7.1 (Build 200907230101) Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01 System: Windows XP версия 5.1 запущена на x86; Cp1251; ru_RU (nb) When I use “New Project – Java – Java Desktop Application”, NB creates new project for me with “import org.jdesktop.application.SingleFrameApplication;” The “Project Properties – Libraries“ contains Swing Application Framework library. The “Project Properties – Application – Desktop App“ has Look& Feel choice window. I can choose any LAF and change my project view on the screen. Everything looks fine. Now, let’s remove any usage and reference to the Swing Application Framework from the project: - Remove Swing Application Framework from project Libraries - Remove “import org.jdesktop.application.SingleFrameApplication;” and modify code for “import javax.swing.SwingUtilities;” usage After that we still have Look& Feel choice window at “Project Properties – Application – Desktop App“. It is available for choice making, but Look& Feel does not work anymore. The project Look&Feel is Java Default always.
Reproducible. On the other hand, it seems to be a minor issue (it doesn't have much sense to create a Java Desktop Application and reomve all traces of Swing Application Framework) => lowering priority.
The project properties panel look for a element in nbproject/project.xml, e.g. like: <swingapp xmlns="http://www.netbeans.org/ns/form-swingapp/1"> <application-class name="desktopapplicationlaf.DesktopApplicationLaF"/> </swingapp> If you delete it, you get rid of the config in project properties. Yes, we could have some check and remove it automatically if not valid.
NetBeans support of Swing Application Framework has been discontinued => closing this issue as WONTFIX.