wood burning stoves 2.0
The moose likes Swing / AWT / SWT and the fly likes Different Different Fonts in JEditorPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Different Different Fonts in JEditorPane" Watch "Different Different Fonts in JEditorPane" New topic

Different Different Fonts in JEditorPane

Pratik Khetia
Ranch Hand

Joined: Jun 29, 2001
Posts: 50
I am writting a chat application in which I need to display different colors and different fonts for different messages.
If I change the color...all the text is getting changed with that color..

Any suggestions would be appriciated...

Jennifer Garrett

Joined: Oct 31, 2001
Posts: 13
for the JEditorPane
and add html tags to the text to change the font.
Don't get me started about those stupid light bulbs.
subject: Different Different Fonts in JEditorPane
It's not a secret anymore!