diff options
| author | student <student@student-OptiPlex-9020> | 2017-03-17 10:49:27 -0400 |
|---|---|---|
| committer | student <student@student-OptiPlex-9020> | 2017-03-17 10:49:27 -0400 |
| commit | 0ea49dd4a52358f053c9be7138c392b16de05899 (patch) | |
| tree | 802e275aaf279480ee8626136f56bfa1fbab6845 /RGens/src/main/java/bjc/rgens/gui/GrammarStudio.java | |
| parent | 36cf3a0f0604ef43ce838ff6e9a7fc4e7c299522 (diff) | |
Move things around, and start on new parser.
Diffstat (limited to 'RGens/src/main/java/bjc/rgens/gui/GrammarStudio.java')
| -rw-r--r-- | RGens/src/main/java/bjc/rgens/gui/GrammarStudio.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/RGens/src/main/java/bjc/rgens/gui/GrammarStudio.java b/RGens/src/main/java/bjc/rgens/gui/GrammarStudio.java new file mode 100644 index 0000000..46f0d6e --- /dev/null +++ b/RGens/src/main/java/bjc/rgens/gui/GrammarStudio.java @@ -0,0 +1,26 @@ +package bjc.rgens.gui; + +import javax.swing.UIManager; +import javax.swing.UnsupportedLookAndFeelException; + +public class GrammarStudio { + public static void main(String[] args) { + try { + UIManager.setLookAndFeel( + UIManager.getSystemLookAndFeelClassName()); + } catch (ClassNotFoundException | InstantiationException + | IllegalAccessException + | UnsupportedLookAndFeelException ex) { + System.out.println( + "WARNING: Could not use system look and feel"); + ex.printStackTrace(); + } + + GrammarStudioFrame mainFrame = new GrammarStudioFrame(); + + mainFrame.setDefaultCloseOperation( + GrammarStudioFrame.EXIT_ON_CLOSE); + + mainFrame.setVisible(true); + } +} |
