InstructionGUITest.java
Go to the documentation of this file.
00001 package instruction.gui.test;
00002 
00003 import java.awt.Color;
00004 import java.awt.event.WindowAdapter;
00005 import java.awt.event.WindowEvent;
00006 
00007 import instruction.gui.EHowInstructionPanel;
00008 
00009 import javax.swing.JFrame;
00010 
00011 public class InstructionGUITest {
00012 
00013         private static EHowInstructionPanel panel = null;
00014 
00018         public static void main( String[] args ) {
00019                 
00020                 JFrame window = new JFrame();
00021                 window.setVisible( true );
00022                 window.setSize( 1100, 800 );
00023                 window.setTitle( "Plan Importer GUI" );
00024                 window.setLocation( 400, 300 );
00025                 window.setBackground(new Color(20, 20, 20));
00026                 
00027                 window.addWindowListener( new WindowAdapter() {
00028       public void windowClosing( WindowEvent we ) {
00029         System.exit( 0 );
00030       }
00031     } );
00032 
00033                 panel = new EHowInstructionPanel();
00034                 window.add( panel );
00035                 panel.init();
00036                 panel.revalidate();
00037         }
00038 
00039 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


comp_ehow
Author(s): Moritz Tenorth, Daniel Nyga
autogenerated on Tue Apr 16 2013 00:18:02