home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / javax / swing / text / AbstractDocument$2.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  1013 b   |  25 lines

  1. package javax.swing.text;
  2.  
  3. import java.io.ObjectInputValidation;
  4. import javax.swing.event.DocumentEvent.EventType;
  5.  
  6. class AbstractDocument$2 implements ObjectInputValidation {
  7.    // $FF: synthetic field
  8.    private final AbstractDocument this$0;
  9.  
  10.    AbstractDocument$2(AbstractDocument var1) {
  11.       this.this$0 = var1;
  12.    }
  13.  
  14.    public void validateObject() {
  15.       try {
  16.          this.this$0.writeLock();
  17.          AbstractDocument.DefaultDocumentEvent var1 = new AbstractDocument.DefaultDocumentEvent(this.this$0, 0, this.this$0.getLength(), EventType.INSERT);
  18.          this.this$0.updateBidi(var1);
  19.       } finally {
  20.          this.this$0.writeUnlock();
  21.       }
  22.  
  23.    }
  24. }
  25.