This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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
It's not a secret anymore!