@Override
    public void actionPerformed(ActionEvent e) {
        if(e.getSource() == acceptadress){
            accept();
        }

        if (e.getSource() == changeNick){
            nick.setText(nickGenerator.getNew());
        }
    }