Commit 66ef02bc authored by Mihai Herda's avatar Mihai Herda
Browse files

Back to original swing look and feel.

parent c7037d06
...@@ -115,16 +115,16 @@ public class MainInterface extends JFrame { ...@@ -115,16 +115,16 @@ public class MainInterface extends JFrame {
// e1.printStackTrace(); // e1.printStackTrace();
// } // }
try { // try {
for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) { // for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) { // if ("Nimbus".equals(info.getName())) {
UIManager.setLookAndFeel(info.getClassName()); // UIManager.setLookAndFeel(info.getClassName());
break; // break;
} // }
} // }
} catch (Exception e) { // } catch (Exception e) {
// do nothing // // do nothing
} // }
MainInterface mainInterface = new MainInterface(); MainInterface mainInterface = new MainInterface();
mainInterface.setSize(1200, 900); mainInterface.setSize(1200, 900);
mainInterface.setMinimumSize(new Dimension(1165, 800)); mainInterface.setMinimumSize(new Dimension(1165, 800));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment