r = d.open();
if(r != FormAnswerDialog.OK) {
// Creating instant room
muc.sendConfigurationForm(new Form(Form.TYPE_SUBMIT));
} else {
muc.sendConfigurationForm(d.getResultForm());
}
MessageDialog.openInformation(sShell,"Successfully created Room.","Successfully created and joined room: " + froom);
} catch (XMPPException e) {
ErrorDialog.openError(sShell,"Can't Create Room","Error while trying to create room: " + e.toString(),new Status(IStatus.ERROR,GOIMPlugin.ID,IStatus.OK,"Error while creating room",e));
e.printStackTrace();