From 0ea49dd4a52358f053c9be7138c392b16de05899 Mon Sep 17 00:00:00 2001 From: student Date: Fri, 17 Mar 2017 10:49:27 -0400 Subject: Move things around, and start on new parser. --- .../src/main/java/bjc/rgens/gui/GrammarStudio.java | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 RGens/src/main/java/bjc/rgens/gui/GrammarStudio.java (limited to 'RGens/src/main/java/bjc/rgens/gui/GrammarStudio.java') 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); + } +} -- cgit v1.2.3