dialog.setVisible(true);
// if yes, contact user
int value = ((Integer) optionPane.getValue()).intValue();
if (value == JOptionPane.YES_OPTION) {
new ConfirmVoiceAction(c, clp.getUserIp(), new VoiceConnexionPacket(me.getUsername(), me.getIp(), clp.getUsername()));
getContactListHash().get(clp.getUsername()).swapChat(true);
} else {
// if no, ignore demands
new CancelVoiceAction(c, clp.getUserIp(), new VoiceConnexionPacket(me.getUsername(), me.getIp(), clp.getUsername()));
getContactListHash().get(clp.getUsername()).swapChat(false);