aspose file tools*
The moose likes Java in General and the fly likes Cut using ClipBoard Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Cut using ClipBoard" Watch "Cut using ClipBoard" New topic
Author

Cut using ClipBoard

iyappan sankaran
Ranch Hand

Joined: Aug 11, 2003
Posts: 58
how do perform cut operation using clipboard in a text editor?.
Mike Firkser
Ranch Hand

Joined: Oct 21, 2003
Posts: 247

If using Windows (not sure about other OS's) highlight your selection and deprtess CTRL+X and then use CTRL+V to paste.


Mike Firkser
Rutgers '84
iyappan sankaran
Ranch Hand

Joined: Aug 11, 2003
Posts: 58
hai mike,
i am trying to write a text editor where i have to perform a Cut operation using ToolKit.getDefaultToolKit().getSystemClipBoard();
how to do?
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
You should be see demo example from Sun ::

AT

%JAVA_HOME%\demo\jfc\Notepad

This is good example....


This will help you.


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
iyappan sankaran
Ranch Hand

Joined: Aug 11, 2003
Posts: 58
Thanks Somkiat
 
wood burning stoves
 
subject: Cut using ClipBoard