getStyle name in JtextPane at caretPosition

Printable View