Sets the logical style to use for the paragraph at the given position. If attributes aren't explicitly set for character and paragraph attributes they will resolve through the logical style assigned to the paragraph, which in turn may resolve through some hierarchy completely independent of the element hierarchy in the document. This method is thread safe, although most Swing methods are not. Please see Threads and Swing for more information. This is an offset from the start of the document.
Sets attributes for some part of the document.
A write lock is held by this operation while changes are being made, and a DocumentEvent is sent to the listeners after the change has been successfully completed. This method is thread safe, although most Swing methods are not. Please see Threads and Swing for more information. Sets attributes for a paragraph. This method is thread safe, although most Swing methods are not.