diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
commit | 3df4acfa816441fc28a95dee6d0191a927145d95 (patch) | |
tree | b5ae7ca44662cfd8e5c95f1826e4406021a606f5 /java/EAC/Configurator.java | |
parent | 60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff) | |
download | ATCD-pre-subset.tar.gz |
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'java/EAC/Configurator.java')
-rw-r--r-- | java/EAC/Configurator.java | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/java/EAC/Configurator.java b/java/EAC/Configurator.java deleted file mode 100644 index 1a9bc7a0ed8..00000000000 --- a/java/EAC/Configurator.java +++ /dev/null @@ -1,58 +0,0 @@ -/** - * Title: Configurator - * Description: The application class for the Event Analysis Configurator - */ -package EAC; -import java.awt.*; -import java.awt.event.*; - -public class Configurator extends Frame { - - // Initial dimensions of the frame - public final int INITIAL_WIDTH = 800; - public final int INITIAL_HEIGHT = 600; - - protected TextField inputArea = new TextField("Input Area", 80); - protected Label reportArea = new Label(); - protected Configuration config = new Configuration(inputArea,reportArea); - protected EACPanel canvas = new EACPanel(config,inputArea,reportArea); - protected EACMenuBar menuBar = new EACMenuBar(canvas,config,inputArea,reportArea); - - Configurator(int tick) { - config.setTick(tick); - - setTitle("The Event Analysis Configurator"); - setLayout(new BorderLayout()); - reportArea.setText("Report Area"); - - // Input Area at top of frame - add(inputArea,"North"); - - // Report Area at bottom of frame - add(reportArea,"South"); - - // Canvas in the middle of frame - add(canvas,"Center"); - - // Menu Bar - setMenuBar(menuBar); - - // Move and resize - setLocation(0,0); - setSize(INITIAL_WIDTH,INITIAL_HEIGHT); - - // For exiting - addWindowListener(new Closer()); - } - - public static void main (String[] argv) { - new Configurator(java.lang.Integer.valueOf(argv[0]).intValue()).show(); - } - - class Closer extends WindowAdapter { - public void windowClosing (WindowEvent e) { - System.exit (0); - } - } - -} /* Configurator */ |