Sunday, May 15, 2011

How to set windows look and feel in JFrame GUI in java

public static void main(String[] args) {
try
{

UIManager.setLookAndFeel(
"com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
}
catch (Exception e) { }

new SwingApplication(); //Create and show the GUI.
}

1 comment:

sai vinoth said...

how to set windows classic as default view kindly send mail to saiv@rocketmail.com,am the beginner pls