Changeset 52 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui/IncidentEditorFrame.java
- Timestamp:
- 08/08/2017 06:01:51 PM (9 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/scriptbuilder/gui/IncidentEditorFrame.java
r51 r52 1 /* 2 * ScriptBuilderFrame.java 3 * 4 * Created on May 8, 2010, 12:01:46 PM 1 /** 2 * Frame for the Individual Incident Editor. 3 * 4 * @author Bryan McGuffin 5 * @version 2017/08/08 5 6 */ 6 7 package scriptbuilder.gui; … … 44 45 * @author Bryan McGuffin 45 46 */ 46 public class ScriptBuilderFrame extends javax.swing.JFrame implements Observer47 public class IncidentEditorFrame extends javax.swing.JFrame implements Observer 47 48 { 48 49 … … 246 247 * for all buttons. 247 248 */ 248 public ScriptBuilderFrame()249 public IncidentEditorFrame() 249 250 { 250 251 script = new SimulationScript(); … … 2795 2796 } 2796 2797 2797 /**2798 * Runs the script builder.2799 *2800 * @param args the command line arguments2801 */2802 public static void main(String args[])2803 {2804 try2805 {2806 UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");2807 }2808 catch (ClassNotFoundException ex)2809 {2810 }2811 catch (InstantiationException ex)2812 {2813 }2814 catch (IllegalAccessException ex)2815 {2816 }2817 catch (UnsupportedLookAndFeelException ex)2818 {2819 }2820 2821 try2822 {2823 UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");2824 }2825 catch (ClassNotFoundException ex)2826 {2827 }2828 catch (InstantiationException ex)2829 {2830 }2831 catch (IllegalAccessException ex)2832 {2833 }2834 catch (UnsupportedLookAndFeelException ex)2835 {2836 }2837 2838 java.awt.EventQueue.invokeLater(2839 new Runnable()2840 {2841 public void run()2842 {2843 new ScriptBuilderFrame().setVisible(true);2844 }2845 });2846 }2798 // /** 2799 // * Runs the script builder. 2800 // * 2801 // * @param args the command line arguments 2802 // */ 2803 // public static void main(String args[]) 2804 // { 2805 // try 2806 // { 2807 // UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel"); 2808 // } 2809 // catch (ClassNotFoundException ex) 2810 // { 2811 // } 2812 // catch (InstantiationException ex) 2813 // { 2814 // } 2815 // catch (IllegalAccessException ex) 2816 // { 2817 // } 2818 // catch (UnsupportedLookAndFeelException ex) 2819 // { 2820 // } 2821 // 2822 // try 2823 // { 2824 // UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel"); 2825 // } 2826 // catch (ClassNotFoundException ex) 2827 // { 2828 // } 2829 // catch (InstantiationException ex) 2830 // { 2831 // } 2832 // catch (IllegalAccessException ex) 2833 // { 2834 // } 2835 // catch (UnsupportedLookAndFeelException ex) 2836 // { 2837 // } 2838 // 2839 // java.awt.EventQueue.invokeLater( 2840 // new Runnable() 2841 // { 2842 // public void run() 2843 // { 2844 // new IncidentEditorFrame().setVisible(true); 2845 // } 2846 // }); 2847 // } 2847 2848 // Variables declaration - do not modify//GEN-BEGIN:variables 2848 2849 private javax.swing.JButton activityLogEvalButton;
Note: See TracChangeset
for help on using the changeset viewer.
