diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-07-01 16:18:56 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-07-01 16:18:56 +0000 |
commit | 6803d545979635f9fc0fb817b1e0841e69a96472 (patch) | |
tree | 74eb2aa0844bc54028da8dc9704fb6eac45322c0 /java/EAC/Configurator.java | |
parent | c0cc5f64b0e435e8603e6a47161d166e4140a49d (diff) | |
download | ATCD-TAO-1_1_18.tar.gz |
This commit was manufactured by cvs2svn to create tag 'TAO-1_1_18'.TAO-1_1_18
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 */ |