Text Processor on a Java Component

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Text Processor on a Java Component

  1. #1
    Join Date
    Sep 2005

    Text Processor on a Java Component

    I'd like to know if there's a component where I can use hidden tags within the text for controlling purposes
    for example, to make things clear, the user will see a plain editable text on a component...

    hello cruel world

    but, in some other layer I want to be able to get

    hello <sometag>cruel</sometag> world

    is there any component that I can do that? if so, how?
    thanks in advance

  2. #2
    Join Date
    Nov 2004
    Check out JEditorPane, HTMLEditorKit and HTMLDocument. In my opinion this part
    of java is quite a mouthful, but it will do the job.
    eschew obfuscation

Similar Threads

  1. Replies: 2
    Last Post: 04-17-2009, 11:14 AM
  2. Has Sun Given Up on the Desktop?
    By Lori Piquet in forum Talk to the Editors
    Replies: 114
    Last Post: 10-10-2002, 06:01 AM
  3. Replies: 2
    Last Post: 09-29-2002, 09:58 AM
  4. Future of Java....
    By JW in forum Careers
    Replies: 14
    Last Post: 02-14-2001, 04:37 PM
  5. how to read text file using JAVA...??
    By Billy in forum Java
    Replies: 3
    Last Post: 02-02-2001, 08:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center