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 {
// e1.printStackTrace();
// }
try {
for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (Exception e) {
// do nothing
}
// try {
// for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
// if ("Nimbus".equals(info.getName())) {
// UIManager.setLookAndFeel(info.getClassName());
// break;
// }
// }
// } catch (Exception e) {
// // do nothing
// }
MainInterface mainInterface = new MainInterface();
mainInterface.setSize(1200, 900);
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