Hacknology.in
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.
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment