/[xulu]/trunk.bakup/src/appl/parallel/starter/client/XuluStarterControllerFrame.java
ViewVC logotype

Annotation of /trunk.bakup/src/appl/parallel/starter/client/XuluStarterControllerFrame.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 77 - (hide annotations)
Wed Feb 10 16:14:27 2010 UTC (14 years, 10 months ago) by alfonx
File size: 968 byte(s)
backup of trunk
1 mojays 2 package appl.parallel.starter.client;
2    
3     import java.awt.event.WindowAdapter;
4     import java.awt.event.WindowEvent;
5    
6     import javax.swing.JFrame;
7    
8     import org.apache.log4j.BasicConfigurator;
9    
10     import appl.parallel.starter.Starter;
11    
12     /**
13     * This is a GUI for controlling the {@link Starter Starters} in the network
14     * independent of Xulu.
15     * @author appl
16     *
17     */
18     public class XuluStarterControllerFrame extends JFrame {
19     public XuluStarterControllerFrame() {
20     super("Server starter");
21     this.getContentPane().add(new XuluStarterController().getPanel());
22     this.setSize(300, 400);
23     this.addWindowListener(new ExitListener());
24     }
25    
26     public static void main(String[] args) {
27     BasicConfigurator.configure();
28     XuluStarterControllerFrame clientGUI = new XuluStarterControllerFrame();
29     clientGUI.setVisible(true);
30     }
31    
32     public class ExitListener extends WindowAdapter {
33     public void windowClosing(WindowEvent event) {
34     System.exit(0);
35     }
36     }
37     }

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26