src/net/java/sip/communicator/impl/muc/MUCServiceImpl.java
/**
     * Joins the given chat room and manages all the exceptions that could
     * occur during the join process.
     *
     * @param chatRoom the chat room to join
     * @param nickname the nickname we're using to join
     * @param password the password we're using to join
     */
Joins the given chat room and manages all the exceptions that could
occur during the join process.

@param chatRoom the chat room to join
@param nickname the nickname we're using to join
@param password the password we're using to join
Joins the given chat room and manages all the exceptions that could occur during the join process . @param chatRoom the chat room to join @param nickname the nickname we ' re using to join @param password the password we ' re using to join
public void joinChatRoom(   ChatRoom chatRoom,
                                String nickname,
                                byte[] password)
    {
        ChatRoomWrapper chatRoomWrapper
            = chatRoomList.findChatRoomWrapperFromChatRoom(chatRoom);
        if(chatRoomWrapper == null)
        {
            ChatRoomProviderWrapper parentProvider
                = chatRoomList.findServerWrapperFromProvider(
                    chatRoom.getParentProvider());
            chatRoomWrapper
                = new ChatRoomWrapperImpl(parentProvider, chatRoom);
            chatRoomList.addChatRoom(chatRoomWrapper);
        }
        this.joinChatRoom(chatRoomWrapper, nickname, password);
    }
public void joinChatRoom ( ChatRoom chatRoom , String nickname , byte [ ] password ) { ChatRoomWrapper chatRoomWrapper = chatRoomList . findChatRoomWrapperFromChatRoom ( chatRoom ) ; if ( chatRoomWrapper == null ) { ChatRoomProviderWrapper parentProvider = chatRoomList . findServerWrapperFromProvider ( chatRoom . getParentProvider ( ) ) ; chatRoomWrapper = new ChatRoomWrapperImpl ( parentProvider , chatRoom ) ; chatRoomList . addChatRoom ( chatRoomWrapper ) ; } this . joinChatRoom ( chatRoomWrapper , nickname , password ) ; }
Joins the given chat room and manages all the exceptions that could
 occur during the join process.
Joins the given chat room and manages all the exceptions that could occur during the join process .