setdefault look and feel code example
Example 1: look and feel java
try {
UIManager.setLookAndFeel("javax.swing.plaf.nimbus.NimbusLookAndFeel");
} catch (Throwable e) {
e.printStackTrace();
}
Example 2: java set look and feel
UIManager.setLookAndFeel("lookandfeel");