Question#504: 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.

}
Previous
Next Post »