]> git.somenet.org - pub/jan/sbc.git/blob - src/main/java/at/ac/tuwien/sbc/valesriegler/group/GroupAgent.java
Pizzeria GUI implemented
[pub/jan/sbc.git] / src / main / java / at / ac / tuwien / sbc / valesriegler / group / GroupAgent.java
1 package at.ac.tuwien.sbc.valesriegler.group;
2
3 import javax.swing.SwingUtilities;
4
5 import at.ac.tuwien.sbc.valesriegler.group.gui.GroupFrame;
6
7 /**
8  * The Main class of the Group component.
9  * <p />
10  * Start the communication and the group GUI:
11  * 
12  * @author Gregor Riegler <gregor DOT riegler AT gmail DOT com>
13  *
14  */
15 public class GroupAgent {
16         
17         public static void main(String[] args) {
18                 // TODO initiate communication
19                 
20                 SwingUtilities.invokeLater(new GroupGUI());
21                 
22         }
23         
24         static class GroupGUI implements Runnable {
25                 @Override
26                 public void run() {
27                         GroupFrame frame = new GroupFrame();
28                         frame.pack();
29                         frame.setVisible(true);
30                 }
31         }
32
33 }