1 package at.ac.tuwien.sbc.valesriegler.pizzeria;
3 import javax.swing.SwingUtilities;
5 import at.ac.tuwien.sbc.valesriegler.pizzeria.gui.PizzeriaFrame;
7 * The Main class of the Pizzeria compoment.
9 * Start the communication and the Pizzeria GUI
11 * @author Gregor Riegler <gregor DOT riegler AT gmail DOT com>
14 public class PizzeriaAgent {
16 public static void main(String[] args) {
17 // TODO initiate communication
19 SwingUtilities.invokeLater(new PizzeriaGUI());
23 static class PizzeriaGUI implements Runnable {
26 PizzeriaFrame frame = new PizzeriaFrame();
28 frame.setVisible(true);