@Override
        public void actionPerformed(ActionEvent e){
            JOptionPane userTask = new JOptionPane();
            String ip = JOptionPane.showInputDialog("Enter IP Address", "IP Address");
            network.newClient(ip);
            userTask.setVisible(true);
        }