public static void main(String[] args) { ORB orb = null; orb = ORB.init(args, null); if (orb != null) { try { new ClientGui(orb); } catch (Exception e) { System.err.println(e); System.exit(-1); } } else { System.err.println("can't initiate orb"); System.exit(-1); } } /*end of main*/
private void cmdDisconnect() { // close main window this.dispose(); System.exit(0); }