|
|
@ -225,7 +225,7 @@ public interface ComponentDemo { |
|
|
|
isSelected())); |
|
|
|
isSelected())); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
dev.add(new JCheckBoxMenuItem("Darklaf/System Laf"){ |
|
|
|
dev.add(new JCheckBoxMenuItem("Darklaf/System Laf") { |
|
|
|
{ |
|
|
|
{ |
|
|
|
setSelected(true); |
|
|
|
setSelected(true); |
|
|
|
addActionListener(e -> { |
|
|
|
addActionListener(e -> { |
|
|
@ -236,9 +236,9 @@ public interface ComponentDemo { |
|
|
|
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); |
|
|
|
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); |
|
|
|
LafManager.updateLaf(); |
|
|
|
LafManager.updateLaf(); |
|
|
|
} catch (ClassNotFoundException |
|
|
|
} catch (ClassNotFoundException |
|
|
|
| UnsupportedLookAndFeelException |
|
|
|
| UnsupportedLookAndFeelException |
|
|
|
| IllegalAccessException |
|
|
|
| IllegalAccessException |
|
|
|
| InstantiationException classNotFoundException) { |
|
|
|
| InstantiationException classNotFoundException) { |
|
|
|
classNotFoundException.printStackTrace(); |
|
|
|
classNotFoundException.printStackTrace(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|