Class JTextComponentFormatter


  • public class JTextComponentFormatter
    extends java.lang.Object
    Apply system font and size (normal size + 1) rule if the JEditorPane document contains html.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void applySystemFontAndSize​(javax.swing.text.JTextComponent textComponent)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JTextComponentFormatter

        public JTextComponentFormatter()
    • Method Detail

      • applySystemFontAndSize

        public static void applySystemFontAndSize​(javax.swing.text.JTextComponent textComponent)