private static void createAndShowGUI() throws SocketException, IOException { // Create and set up the window. ClientGui gui = new ClientGui(); gui.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // Display the window. gui.pack(); // gui.setSize(600, 600); gui.setLocationRelativeTo(null); gui.setVisible(true); }
public ReconnectThread(CryoBay cb, ShutdownFrame sf, ClientGui cg) { cryo = cb; frame = sf; clientGui = cg; orb = clientGui.getOrb(); }