Пример #1
0
  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);
  }
Пример #2
0
 public ReconnectThread(CryoBay cb, ShutdownFrame sf, ClientGui cg) {
   cryo = cb;
   frame = sf;
   clientGui = cg;
   orb = clientGui.getOrb();
 }