home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &… the Search for Life CD 3 / 0_CD-ROM.iso / install / jre1_3 / lib / rt.jar / sun / applet / AppletPanel$3.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  915 b   |  31 lines

  1. package sun.applet;
  2.  
  3. import java.net.URL;
  4. import java.security.PrivilegedAction;
  5.  
  6. class AppletPanel$3 implements PrivilegedAction {
  7.    // $FF: synthetic field
  8.    private final URL val$codebase;
  9.    // $FF: synthetic field
  10.    private final AppletPanel this$0;
  11.  
  12.    AppletPanel$3(AppletPanel var1, URL var2) {
  13.       this.this$0 = var1;
  14.       this.val$codebase = var2;
  15.    }
  16.  
  17.    public Object run() {
  18.       AppletClassLoader var1 = this.this$0.createClassLoader(this.val$codebase);
  19.       Class var2 = this.getClass();
  20.       synchronized(var2) {
  21.          AppletClassLoader var3 = (AppletClassLoader)AppletPanel.access$000().get(this.val$codebase);
  22.          if (var3 == null) {
  23.             AppletPanel.access$000().put(this.val$codebase, var1);
  24.             return var1;
  25.          } else {
  26.             return var3;
  27.          }
  28.       }
  29.    }
  30. }
  31.