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. Please see Threads and Swing for more information. Gets a paragraph element. Gets a character element based on a position. Updates document structure as a result of text insertion.