Results 1 to 3 of 3
  1. #1
    surya_dks is offline Member
    Join Date
    Jul 2008
    Posts
    5
    Rep Power
    0

    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..

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,305
    Rep Power
    25

    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.

  3. #3
    dlorde is offline Senior Member
    Join Date
    Jun 2008
    Posts
    339
    Rep Power
    7

    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.

Similar Threads

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •