SimpleAttributeSet « Swing « Java Tutorial






14.39.SimpleAttributeSet
14.39.1.Creating Styled Text: Using a SimpleAttributeSet
14.39.2.Using StyleConstants class to simplify style sttribute settings
14.39.3.Add colored text to the document
14.39.4.Use SimpleAttributeSet with JTextPane
14.39.5.Tests two attributed strings for equality.