Skip to Main Content

Applet - HTML editor

843807Nov 12 2002 — edited Nov 19 2002
Hi!

I'm having some troubles with changes in the font of a JEditorPane. The only way i could change the font was:

Action action = new HTMLEditorKit.boldAction(); //this even create the button...

But i need to put it all in a JComboBox. I get the item but i can't change the font or the size... i need this to make an html editor on the fly for web, and i'm totally lost...

Second question: how can i display an preview of the html bein generated?

Thanks a lot!
Comments
Post Details
Added on Nov 12 2002
2 comments
31 views