• Post Reply Bookmark Topic Watch Topic
  • New Topic

StyleSheet in HTMLEditorKit

 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I try to change a style by using the following code





This code does not work. When I print the data the text is updated but no edit in the JTextPane. If I use a span class="someclass" it works. Anyone who knows the problem?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!