src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Updates the contact status.
     * @param chatContact the chat contact to update
     * @param statusMessage the status message to show
     */
Updates the contact status.
@param chatContact the chat contact to update
@param statusMessage the status message to show
Updates the contact status . @param chatContact the chat contact to update @param statusMessage the status message to show
public void updateChatContactStatus(final ChatContact<?> chatContact,
                                        final String statusMessage)
    {
        if(!SwingUtilities.isEventDispatchThread())
        {
            SwingUtilities.invokeLater(new Runnable()
            {
                public void run()
                {
                    updateChatContactStatus(chatContact, statusMessage);
                }
            });
            return;
        }
        this.addMessage(
            chatContact.getName(),
            new Date(),
            Chat.STATUS_MESSAGE,
            statusMessage,
            ChatHtmlUtils.TEXT_CONTENT_TYPE);
    }
public void updateChatContactStatus ( final ChatContact < ? > chatContact , final String statusMessage ) { if ( ! SwingUtilities . isEventDispatchThread ( ) ) { SwingUtilities . invokeLater ( new Runnable ( ) { public void run ( ) { updateChatContactStatus ( chatContact , statusMessage ) ; } } ) ; return ; } this . addMessage ( chatContact . getName ( ) , new Date ( ) , Chat . STATUS_MESSAGE , statusMessage , ChatHtmlUtils . TEXT_CONTENT_TYPE ) ; }
Updates the contact status.
Updates the contact status .