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 / JEditorPane$PageLoader.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  1.5 KB  |  48 lines

  1. package javax.swing;
  2.  
  3. import java.io.IOException;
  4. import java.io.InputStream;
  5. import java.net.URL;
  6. import javax.swing.text.Document;
  7.  
  8. class JEditorPane$PageLoader extends Thread {
  9.    // $FF: renamed from: in java.io.InputStream
  10.    InputStream field_0;
  11.    URL old;
  12.    URL page;
  13.    Document doc;
  14.    // $FF: synthetic field
  15.    private final JEditorPane this$0;
  16.  
  17.    JEditorPane$PageLoader(JEditorPane var1, Document var2, InputStream var3, int var4, URL var5, URL var6) {
  18.       this.this$0 = var1;
  19.       ((Thread)this).setPriority(var4);
  20.       this.field_0 = var3;
  21.       this.old = var5;
  22.       this.page = var6;
  23.       this.doc = var2;
  24.    }
  25.  
  26.    public void run() {
  27.       try {
  28.          this.this$0.read(this.field_0, this.doc);
  29.          URL var1 = (URL)this.doc.getProperty("stream");
  30.          String var2 = var1.getRef();
  31.          if (var2 != null) {
  32.             JEditorPane.2 var3 = new JEditorPane.2(this);
  33.             SwingUtilities.invokeLater(var3);
  34.          }
  35.       } catch (IOException var8) {
  36.          this.this$0.getToolkit().beep();
  37.       } finally {
  38.          this.this$0.firePropertyChange("page", this.old, this.page);
  39.       }
  40.  
  41.    }
  42.  
  43.    // $FF: synthetic method
  44.    static JEditorPane access$000(JEditorPane$PageLoader var0) {
  45.       return var0.this$0;
  46.    }
  47. }
  48.