Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Restore Aqua look and feel in NetBeans 3.4 with Java 1.4.1 Apps
I just installed the new Java 1.4.1 and was excited that Java GUIs with the Aqua Look and Feel seem to be noticeably faster and snappier. Unfortunately, NetBeans 3.4 stopped using Aqua even when it was specified in the launcher preferences. Well, the answer is easier than I thought -- the package name for the look and feel changed. To get it to work with the NetBeans Launcher:
  1. Open the Preferences dialog.
  2. Click the Expert tab.
  3. Enter "-ui apple.laf.AquaLookAndFeel" in the Extra Parameters field.
That's it! Aqua is back. You can also use this from the command line if you start NetBeans that way. Just tack that parameter onto the normal startup command.

This hint may also be helpful to folks who have Java applications that use Aqua that stopped working with Java 1.4.1. They just need to use the new package name.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[4,093 views]  

Restore Aqua look and feel in NetBeans 3.4 with Java 1.4.1 | 3 comments | Create New Account
Click here to return to the 'Restore Aqua look and feel in NetBeans 3.4 with Java 1.4.1' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Don't use the package name!
Authored by: AJOfOZ on Mar 17, '03 07:21:43PM

It is important that you do *not* depend on the package name of the Aqua L&F remaining the same. You should always use UIManager.getSystemLookAndFeelClassName().



[ Reply to This | # ]
RE: Don't use the package name!
Authored by: kraelen on Apr 15, '03 04:07:52PM

Not possible as a command line argument to Netbeans. You specify the look and feel class, just as the poster suggests.



[ Reply to This | # ]
Restore Aqua look and feel in NetBeans 3.4 with Java 1.4.1
Authored by: kraelen on Apr 15, '03 04:05:50PM

Netbeans didn't stop using the Aqua L&F. The class name for the L&F changed in the latest JRE. Netbeans is trying to use the old class name.



[ Reply to This | # ]