public void actionPerformed(ActionEvent e) {
			ip = ipAddress.getText();
			port = Integer.parseInt(portAddress.getText());
			setVisible(false);
			System.out.println(ip);
			final Client c = new Client(ip, port);
			try {
				c.initialize();
			} catch (UnknownHostException e2) {
				e2.printStackTrace();
			} catch (IOException e2) {
				e2.printStackTrace();
			} catch (ClassNotFoundException e2) {
				e2.printStackTrace();
			}
			try {
				for (LookAndFeelInfo info : UIManager
						.getInstalledLookAndFeels()) {
					if ("Nimbus".equals(info.getName())) {
						UIManager.setLookAndFeel(info.getClassName());
						break;
					}
				}
			} catch (UnsupportedLookAndFeelException e1) {
			} catch (ClassNotFoundException e1) {
			} catch (InstantiationException e1) {
			} catch (IllegalAccessException e1) {
			}

			SwingUtilities.invokeLater(new Runnable() {
				public void run() {
					new GUI(c);

				}
			});

		}