public void actionPerformed(ActionEvent e) {
		if (e.getSource() == confirm) {
			new UserSettings(profileName.getText(), new String(pass.getPassword()), nick.getText(), login.getText());
			dispose();
		} else if (e.getSource() == cancel) {
			dispose();
		}
	}