• Post Reply Bookmark Topic Watch Topic
  • New Topic

Applying CSS in HTMLEditorKit  RSS feed

 
Pramod Chris
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using HTMLEditorKit to edit an HTML page which is displayed in a JTextPane, and well, I'm doing this for the first time and I have two queries here,
I want to know how I can apply a CSS to this displayed HTML and also by any chance does the HTMLEditorKit have any problems with hiding commented lines in the HTML? The displayed pages show all the commented lines.

Thanks in advance.
 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please post some code...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!