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.
try {
JFrame.setDefaultLookAndFeelDecorated(true);
UIManager.getInstalledLookAndFeels();
UIManager.setLookAndFeel(className);
} catch (ClassNotFoundException e) {
ErrorManager.notifyWarning("Could not set the look and feel.", e);