Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DefaultStyledDocument.styleChanged() question

Status
Not open for further replies.

borbjo

Programmer
Mar 29, 2002
33
NO
I use this method to notify the document that a style has changed. It works fine for Paragraph Styles - but not for Character Styles.

Character Styles = styles added with doc.setCharacterAttributes(offset, length, s, replace);

Paragraph Styles = styles added with doc.setParagraphAttributes(offset, length, s, replace);

Anyone know why styleChanged() will change the look of the text for paragraph styles but not for character styles?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top