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 137446 - JApplet Look and Feel configuration
Summary: JApplet Look and Feel configuration
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 15:02 UTC by carentrica
Modified: 2008-06-17 15:02 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carentrica 2008-06-17 15:02:42 UTC
At the moment, when creating a JApplet form, the only look and feel is Metal. There seems no way to change it from the 
GUI designer. It should surely be the system look and feel so it has the "right" appearance on all platforms.

At the moment, I modify the run() method inside init() before deployment to:

initComponents()
try {
   UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
   SwingUtilities.updateComponentTreeUI(app); // app is a reference to the JApplet instance.
} catch(Exception ex) {
   ex.printStackTrace();
}

But ideally we need access to all available look and feel styles during design so that components can be properly 
placed in all cases.