• Post Reply Bookmark Topic Watch Topic
  • New Topic

JEditorPane, ranges, attributes

 
Michael Finney
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I apply a new attribute (like font size) to a range of selected text for an HTMLDocument/HTMLEditorKit/JEditorPane situation without losing the other attributes which are already on the text (like Font Style or Bold).
Please keep in mind that the range of selected content may have some of the content in one font and the rest in another font.
Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!