Memory work.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@9255 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2007-10-02 05:24:34 +00:00
committed by derek
parent 5b01091d7b
commit 7f72e7f2c5

View File

@ -89,7 +89,6 @@ public class TranscriptWindow extends ChatArea implements ContextMenuListener {
addMouseListener(this);
addMouseMotionListener(this);
setDragEnabled(true);
addContextMenuListener(this);
// Make sure ctrl-c works
@ -97,8 +96,8 @@ public class TranscriptWindow extends ChatArea implements ContextMenuListener {
getActionMap().put("copy", new AbstractAction("copy") {
public void actionPerformed(ActionEvent evt) {
StringSelection ss = new StringSelection(getSelectedText());
Toolkit.getDefaultToolkit().getSystemClipboard().setContents(ss, null);
StringSelection stringSelection = new StringSelection(getSelectedText());
Toolkit.getDefaultToolkit().getSystemClipboard().setContents(stringSelection, null);
}
});