Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 2ba4e21

Browse files
committed
Removes unused methods
1 parent 84a88dc commit 2ba4e21

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ClassySharkWS/src/com/google/classyshark/gui/GuiMode.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,11 @@ public void run() {
4040
});
4141
}
4242

43-
private static void setParamsForOtherPlatforms() throws Exception {
44-
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
45-
UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");
46-
}
47-
4843
private static void buildAndShowClassyShark(List<String> cmdLineArgs) {
4944
try {
5045
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
5146
} catch (UnsupportedLookAndFeelException | IllegalAccessException | ClassNotFoundException
52-
| InstantiationException ex) {
47+
| InstantiationException | SecurityException ex) {
5348
ex.printStackTrace();
5449
}
5550

0 commit comments

Comments
 (0)