home *** CD-ROM | disk | FTP | other *** search
- package javax.swing.text;
-
- import javax.swing.event.DocumentEvent.EventType;
- import javax.swing.undo.CompoundEdit;
-
- class DefaultStyledDocument$ChangeUpdateRunnable implements Runnable {
- // $FF: synthetic field
- private final DefaultStyledDocument this$0;
-
- DefaultStyledDocument$ChangeUpdateRunnable(DefaultStyledDocument var1) {
- this.this$0 = var1;
- }
-
- public void run() {
- try {
- this.this$0.writeLock();
- AbstractDocument.DefaultDocumentEvent var1 = new AbstractDocument.DefaultDocumentEvent(this.this$0, 0, this.this$0.getLength(), EventType.CHANGE);
- ((CompoundEdit)var1).end();
- this.this$0.fireChangedUpdate(var1);
- } finally {
- this.this$0.writeUnlock();
- }
-
- }
- }
-