src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Implements the <tt>Chat.isChatFocused</tt> method. Returns TRUE if this
     * chat panel is the currently selected panel and if the chat window, where
     * it's contained is active.
     *
     * @return true if this chat panel has the focus and false otherwise.
     */


@return true if this chat panel has the focus and false otherwise.
@return true if this chat panel has the focus and false otherwise .
public boolean isChatFocused()
    {
        ChatPanel currentChatPanel = chatContainer.getCurrentChat();
        return (currentChatPanel != null
                && currentChatPanel.equals(this)
                && chatContainer.getFrame().isActive());
    }
public boolean isChatFocused ( ) { ChatPanel currentChatPanel = chatContainer . getCurrentChat ( ) ; return ( currentChatPanel != null && currentChatPanel . equals ( this ) && chatContainer . getFrame ( ) . isActive ( ) ) ; }
Implements the <tt>Chat.isChatFocused</tt> method.
Implements the <tt > Chat . isChatFocused< / tt > method .