• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cut using ClipBoard

 
iyappan sankaran
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how do perform cut operation using clipboard in a text editor?.
 
Mike Firkser
Ranch Hand
Posts: 249
Java Oracle PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If using Windows (not sure about other OS's) highlight your selection and deprtess CTRL+X and then use CTRL+V to paste.
 
iyappan sankaran
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be see demo example from Sun ::

AT

%JAVA_HOME%\demo\jfc\Notepad

This is good example....


This will help you.
 
iyappan sankaran
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Somkiat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic