Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Rich Edit" like control 2

Status
Not open for further replies.

Miros

Programmer
Jan 27, 2001
506
US
Is there a Java control similar to the "rich edit" control which will display and edit formatted text (bold, underline, etc.)?

I'm thinking something similar to the Tecumseh Group Mark-up Language renderer... or is that strictly an HTML generator?

Rose/Miros
 
You can try the JEditorPane class in the java.swing package. You can use rtf, html, text in it by using "kits". It's explained in more detail in the api docs. You could then write your own kit to process TGML if you preferred.


I hope this was helpful! ;-)
 
Sounds like exactly what I need... I was actually thinking somewhere between XML and HTML.

Rose/Miros
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top