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 174330 - Project Look& Feel problem
Summary: Project Look& Feel problem
Status: RESOLVED WONTFIX
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-12 09:41 UTC by ale4349koc
Modified: 2011-07-27 15:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ale4349koc 2009-10-12 09:41:47 UTC
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.
Comment 1 Jan Stola 2009-10-12 16:28:19 UTC
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.
Comment 2 Tomas Pavek 2009-10-12 16:31:35 UTC
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.
Comment 3 Jan Stola 2011-07-27 15:23:41 UTC
NetBeans support of Swing Application Framework has been discontinued => closing this issue as WONTFIX.