Hello
I'm working on simple text editor based on jTextPane i have no problem setting text color, size, font etc.
but i have no idea how to get attributes from selected paragraph.
i'v tried doing it by
myPane.getCharacterAttributes().getAttribute(key));
but what shoud be the key?
any help would be appreciated