src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Enters editing mode for the message with the specified id - puts the
     * message contents in the write panel and changes the background.
     *
     * @param correctedMessageUID The ID of the message being corrected.
     */
Enters editing mode for the message with the specified id - puts the
message contents in the write panel and changes the background.

@param correctedMessageUID The ID of the message being corrected.
Enters editing mode for the message with the specified id - puts the message contents in the write panel and changes the background . @param correctedMessageUID The ID of the message being corrected .
public void startMessageCorrection(String correctedMessageUID)
    {
        if (!showMessageInWriteArea(correctedMessageUID))
        {
            return;
        }
        if (chatSession.getCurrentChatTransport().allowsMessageCorrections())
        {
            this.correctedMessageUID = correctedMessageUID;
            Color bgColor = new Color(GuiActivator.getResources()
                .getColor("service.gui.CHAT_EDIT_MESSAGE_BACKGROUND"));
            this.writeMessagePanel.setEditorPaneBackground(bgColor);
        }
    }
public void startMessageCorrection ( String correctedMessageUID ) { if ( ! showMessageInWriteArea ( correctedMessageUID ) ) { return ; } if ( chatSession . getCurrentChatTransport ( ) . allowsMessageCorrections ( ) ) { this . correctedMessageUID = correctedMessageUID ; Color bgColor = new Color ( GuiActivator . getResources ( ) . getColor ( "service.gui.CHAT_EDIT_MESSAGE_BACKGROUND" ) ) ; this . writeMessagePanel . setEditorPaneBackground ( bgColor ) ; } }
Enters editing mode for the message with the specified id - puts the
 message contents in the write panel and changes the background.
Enters editing mode for the message with the specified id - puts the message contents in the write panel and changes the background .