This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Text " Watch "Text " New topic


Sanapathi Madhuri

Joined: Mar 02, 2002
Posts: 4
I would like to know if there is any method or event to get the highlighted ( selected ) text in a textbox ???
Thanx a bunch !
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Check out the API, for getSelectedText().

I agree. Here's the link:
subject: Text
Similar Threads
Default Body Content
list box
exporting to CSV
WA #1.....word association
Byte order and file transference.