Monday, December 13, 2004

Windows Look and Feel in Java

WinLAF Windows Look and Feel Fidelity
winlaf-0.5.jar contains workarounds for Windows Look and Feel issues. Starting with the 0.5 release, WinLAF is a "standard" Java look and feel. To make your application look more like a real Windows app:
  • Put the winlaf-0.5.jar file on the CLASSPATH of your application.
  • In your main() method, set WinLAF as the active look and feel:
    try
    
    {
    UIManager.setLookAndFeel(
    "net.java.plaf.windows.WindowsLookAndFeel"
    );
    }
    catch ( Exception e ) {}

JGoodies: http://www.jgoodies.com/downloads/libraries.html

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home