Java-Swing UI Types



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:


  1. ·         UIManager.getSystemLookAndFeelClassName (); //Windows style..
  2. ·         UIManager.getCrossPlatformLookAndFeelClassName();//Java swing standard
  3. ·         "com.sun.java.swing.plaf.motif.MotifLookAndFeel" //Moti style.



Happy coding :)

1 comment:

  1. Very nice information. Thank you for sharing it. Thanks pmd

    ReplyDelete