StyleContext « javax.swing.text « Java by API





1.StyleContext.DEFAULT_STYLE
2.new StyleContext()
3.StyleContext: getStyle(String nm)