For desired [Among
available types :P ] look and feel for your Java-swing application, you may set
like below..
UIManager.setLookAndFeel
(UIManager.getSystemLookAndFeelClassName ());
setLookAndFeel() method
takes a String argument which is one of below available
look and feel:
- · UIManager.getSystemLookAndFeelClassName (); //Windows style..
- · UIManager.getCrossPlatformLookAndFeelClassName();//Java swing standard
- · "com.sun.java.swing.plaf.motif.MotifLookAndFeel" //Moti style.
Happy coding :)
No comments:
Post a Comment