Results 1 to 2 of 2
  1. #1
    Dinesh_rockz is offline Member
    Join Date
    Jan 2011
    Rep Power

    Default Which swing component is suitable for TextEditor...?

    hi to all:)

    i would like to create an basic Text editor...!it must allow some basic editor functions such as undo,redo and highlight some specific keywords.. Which swing component is suitable JTextArea or JEditorPane or any other suggestion..!

  2. #2
    NRitH is offline Senior Member
    Join Date
    Feb 2011
    Rep Power


    JEditorPane is designed for basic text editing, so that's what you should start with. It supports highlighting, but you'll have to implement the undo/redo functionality yourself.

Similar Threads

  1. Replies: 13
    Last Post: 12-06-2010, 05:57 AM
  2. swing component
    By cahyadiakbar in forum AWT / Swing
    Replies: 0
    Last Post: 09-22-2010, 10:40 AM
  3. TextEditor as part of Composite
    By Mariusz in forum SWT / JFace
    Replies: 0
    Last Post: 06-02-2010, 11:56 AM
  4. Swing - Changing component default font
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-11-2008, 10:52 PM
  5. Require Links for free swing component
    By Gajesh Tripathi in forum Advanced Java
    Replies: 2
    Last Post: 08-11-2007, 10:24 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