aspose file tools*
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
Author

getselected

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: 10451
    
    8

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:
http://java.sun.com/docs/books/tutorial/uiswing/


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

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