Is there a WYSIWYG editor available for Java?

11,266

Solution 1

It's not entirely clear from your question: are you asking for existing code editor components which can be easily embedded within a Swing application?

If so, you will be able to find a few open source components. I've personally used RSyntaxTextArea; the jEdit project has a spin-off component, although I seem to recall it not being maintained as actively as its parent project. JIDE also have the JIDE Editor component.

Solution 2

I would recommend jEdit as an embedded editor, but I'm not aware of any particular support for a Java Desktop Application created using the Swing Application Framework (JSR 296). As an alternative, consider The NetBeans Platform.

Share:
11,266
MYE
Author by

MYE

Updated on June 22, 2022

Comments

  • MYE
    MYE about 2 years

    Possible Duplicate:
    WYSIWYG text editor in Java

    I was looking for a tool or API that provides a WYSIWYG editor within a Java Desktop Application.

    Could anyone provide me with a link or document about creating or installing a WYSIWYG editor within a Java Desktop Application.

    This look like

    http://nicedit.com/

    NiceEditor use for web but i need use for desktop application

    Thank you!

  • MYE
    MYE over 13 years
    i need use for application not web project, Thank you
  • MYE
    MYE over 13 years
    sorry but i think you don't understand my question sorry about it, but i need find a API about Editor component to attached to my project desktop application look like niceditor
  • Marcos Vasconcelos
    Marcos Vasconcelos over 13 years
    This ins't for Web Projects, this is for Desktop applications.
  • MYE
    MYE over 13 years
    i was explore it but i couldn't find any text editor such as bold text or italic text?
  • Marcos Vasconcelos
    Marcos Vasconcelos over 13 years
    Hmm.. you want a editor like theses ones to write emails to put inside your application? I don't remember any component who did it. But my tip is look at JEditorPane.
  • MYE
    MYE over 13 years
    hmmm.... i think it ok but i need write some code for feature Bold and Italic rights?
  • Marcos Vasconcelos
    Marcos Vasconcelos over 13 years
    Of course, change the Font, the JComponent class has a setFont method.
  • stolsvik
    stolsvik over 5 years
    2019: RSyntaxTextArea is still working..!