dcsimg
Copying and Pasting selected text in a JTextArea
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Peter_Jamhour
Posted On:   Sunday, May 12, 2002 03:25 AM


How would i be able to copy and paste
selected text by a user
from one JTextArea to another JTextArea
What methods or libraries will i need to use
Would it be possible for you to enclose maybe the skeleton code
Thanx in advance

Re: Copying and Pasting selected text in a JTextArea

Posted By:   Dirk_Dieninghoff  
Posted On:   Sunday, May 12, 2002 10:49 AM

JTextComponent, the superclass of JTextArea, provides convenience methods for this purpose. They let you copy() and paste() to and from the system clipboard.
About | Sitemap | Contact