jQuery in Action, 3rd edition
The moose likes Swing / AWT / SWT and the fly likes getselected Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "getselected" Watch "getselected" New topic


satya satish
Ranch Hand

Joined: Oct 20, 2008
Posts: 41
how to get a text selected as soon as the word typed
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10747

Originally posted by satya satish:
how to get a text selected as soon as the word typed

From your questions, I think you really need to take out time to go through this tutorial:

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Pavan Kumar Srinivasan

Joined: Sep 17, 2008
Posts: 27
Keep listening to the textComponent's DocumentModel and use JTextComponent's selection methods..
I agree. Here's the link: http://aspose.com/file-tools
subject: getselected
It's not a secret anymore!