@@ -0,0 +1,736 @@
+package RemoteMonitorV2;%0A%0Aimport java.awt.event.ActionEvent;%0Aimport java.awt.event.ActionListener;%0A%0Aimport javax.swing.JTextField;%0A%0Apublic class ControllerConnectAL implements ActionListener %7B%0A%09private JTextField ipJTextField;// ip%E5%9C%B0%E5%9D%80%E8%BE%93%E5%85%A5%E6%A1%86%0A%09private JTextField portJTextField;// %E7%AB%AF%E5%8F%A3%E5%8F%B7%E8%BE%93%E5%85%A5%E6%A1%86%0A%0A%09public ControllerConnectAL(JTextField ipJTextField, JTextField portJTextField) %7B%0A%09%09this.ipJTextField = ipJTextField;%0A%09%09this.portJTextField = portJTextField;%0A%09%7D%0A%0A%09@Override%0A%09public void actionPerformed(ActionEvent e) %7B%0A%09%09String romoteIP = ipJTextField.getText();%0A%09%09String sPort = portJTextField.getText();%0A%09%09int port = Integer.parseInt(sPort);%0A%09%09//%E5%BC%80%E5%90%AF%E8%BF%9E%E6%8E%A5%E8%A2%AB%E6%8E%A7%E7%AB%AF%E7%BA%BF%E7%A8%8B%0A%09%09ControllerThread cct = new ControllerThread(romoteIP,port);%0A%09%09new Thread(cct).start();%0A%09%7D%0A%0A%7D%0A

Create ControllerConnectAL.java