Results 1 to 2 of 2
- 05-19-2007, 11:59 AM #1
- 05-19-2007, 12:03 PM #2levent Guest
You can add a CaretListener to your JTextArea. Then you can use methods of String class to detect start and end of the word on which the mouse is.
Similar Threads
-
Finding the exact length of a string in a JLabel (in pixels)
By Clarkey in forum Advanced JavaReplies: 2Last Post: 03-25-2008, 05:49 AM -
copying file from a email/word to a Java application
By cmbl in forum Advanced JavaReplies: 13Last Post: 01-09-2008, 06:51 AM -
Word Scramble
By lk9865 in forum New To JavaReplies: 5Last Post: 11-17-2007, 02:22 AM -
Help with a word, if it is divided by spaces
By baltimore in forum New To JavaReplies: 1Last Post: 08-07-2007, 06:31 AM -
How to update Existing Word Doc Using java
By umashankar in forum Advanced JavaReplies: 1Last Post: 07-27-2007, 01:29 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks