@Override
        public void run() {
          String[] joinOptions;
          String subject = null;
          String nickName = null;

          nickName =
              ConfigurationUtils.getChatRoomProperty(
                  chatRoomWrapper.getParentProvider().getProtocolProvider(),
                  chatRoomWrapper.getChatRoomID(),
                  "userNickName");
          if (nickName == null) {
            joinOptions =
                ChatRoomJoinOptionsDialog.getJoinOptions(
                    chatRoomWrapper.getParentProvider().getProtocolProvider(),
                    chatRoomWrapper.getChatRoomID(),
                    MUCActivator.getMUCService()
                        .getDefaultNickname(
                            chatRoomWrapper.getParentProvider().getProtocolProvider()));
            nickName = joinOptions[0];
            subject = joinOptions[1];
          }

          if (nickName != null)
            MUCActivator.getMUCService().joinChatRoom(chatRoomWrapper, nickName, null, subject);
        }
 @Override
 public void run() {
   ChatRoomJoinOptionsDialog.getJoinOptions(
       true,
       chatRoomWrapper.getParentProvider().getProtocolProvider(),
       chatRoomWrapper.getChatRoomID(),
       MUCActivator.getMUCService()
           .getDefaultNickname(chatRoomWrapper.getParentProvider().getProtocolProvider()));
 }
 @Override
 public void run() {
   String[] joinOptions;
   joinOptions =
       ChatRoomJoinOptionsDialog.getJoinOptions(
           chatRoomWrapper.getParentProvider().getProtocolProvider(),
           chatRoomWrapper.getChatRoomID(),
           MUCActivator.getMUCService()
               .getDefaultNickname(chatRoomWrapper.getParentProvider().getProtocolProvider()));
   if (joinOptions[0] == null) return;
   MUCActivator.getMUCService()
       .joinChatRoom(chatRoomWrapper, joinOptions[0], null, joinOptions[1]);
 }