Updated the clipboard calls to DuffPane. Ed: there are some mistakes that didn't happen before. There are certain combinations that use a header letter that when pasted from the DuffPane to the DuffPane fail. Try writing "rgyas", copying it and pasting it beside it.

This commit is contained in:
amontano 2003-04-03 05:16:14 +00:00
parent 7a495bc720
commit 5423bc19d4
2 changed files with 4 additions and 4 deletions

View file

@ -233,11 +233,11 @@ public class AppletScannerFilter extends JApplet implements ActionListener, Focu
if (clicked == mnuCut)
{
t.cutCurrentSelection();
t.cut();
}
else if (clicked == mnuCopy)
{
t.copyCurrentSelection();
t.copy();
}
else if (clicked == mnuPaste)
{

View file

@ -351,11 +351,11 @@ public class WindowScannerFilter implements WindowListener, FocusListener, Actio
if (clicked == mnuCut)
{
t.cutCurrentSelection();
t.cut();
}
else if (clicked == mnuCopy)
{
t.copyCurrentSelection();
t.copy();
}
else if (clicked == mnuPaste)
{