Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-21-2008, 11:24 AM
Member
 
Join Date: Jul 2008
Posts: 5
Rep Power: 0
surya_dks is on a distinguished road
Default Spell check in Textarea.
How do I work with spell checking in text area.

In my application I have created a textarea(which includes a stanard html), here user can give the comments or give the message. Now my requirement is spell check for the user entered text here. I have downloaded some code and incorporated.

when I check for spell check, the application displaying two text area boxes(one is the original and other one source code for the standard HTML).

can some one help on this..
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 08-21-2008, 02:08 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,225
Rep Power: 4
Norm is on a distinguished road
Default
Is the data displayed as HTML source or is it formatted as per the markup rules?
By comparing the original text (without user input) against the new text with the user input, you can see what the user entered.
Then scan that for spelling.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 08-22-2008, 12:33 AM
Member
 
Join Date: Jun 2008
Posts: 17
Rep Power: 0
dlorde is on a distinguished road
Default
You could do worse than check out the Jazzy Spell Checker (jazzy.sourceforge.net) - I've use it for spell-checking in a JTextArea via a hot-key and a context menu.

Sorry about the raw link - this dumb forum system won't let me use a proper link.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TextArea with Unicode Java Tip javax.swing 0 04-16-2008 10:53 PM
Spell check feature ravian Advanced Java 2 12-27-2007 09:28 AM
spell check kazitula Java Applets 2 12-20-2007 11:37 AM
TextArea Bug? Soda New To Java 2 12-07-2007 12:37 PM
textarea ubuntu AWT / Swing 4 05-12-2007 09:54 PM


All times are GMT +2. The time now is 12:51 PM.



VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org