public void startListening(){
        passwordField.setVisible(false);
        startButton.setVisible(false);
        serverThread=new ServerThread(24125,hashPassword(passwordField.getText()));
        System.out.println("listening on port 24125");
        serverThread.listener=this;
        serverThread.start();
        String ipHint="<html>This computer's IP address(es) is/are: <br>";
        for(String str: IPAddressFinder.get()){
            ipHint=ipHint+str+"<br>";
        }
        ipHint=ipHint+"</html>";
        statusField.setText(ipHint);
    }