List of usage examples for javax.swing.text StyleConstants LineSpacing
Object LineSpacing
To view the source code for javax.swing.text StyleConstants LineSpacing.
Click Source Link
From source file:Main.java
public static void main(String[] argv) { // Check if character-based attribute boolean b = StyleConstants.Italic instanceof AttributeSet.CharacterAttribute; b = StyleConstants.LineSpacing instanceof AttributeSet.CharacterAttribute; // Check if paragraph-based attribute b = StyleConstants.LineSpacing instanceof AttributeSet.ParagraphAttribute; b = StyleConstants.Italic instanceof AttributeSet.ParagraphAttribute; }