home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / kepler / kepler.jar / kepler$12.class (.txt) < prev    next >
Encoding:
Java Class File  |  2003-01-06  |  1.0 KB  |  33 lines

  1. import java.awt.event.ActionEvent;
  2. import java.awt.event.ItemEvent;
  3. import java.awt.event.ItemListener;
  4.  
  5. class kepler$12 implements ItemListener {
  6.    // $FF: renamed from: j int
  7.    int field_0;
  8.    // $FF: synthetic field
  9.    private final kepler this$0;
  10.  
  11.    kepler$12(kepler var1) {
  12.       this.this$0 = var1;
  13.       this.field_0 = this.this$0.cbn;
  14.    }
  15.  
  16.    public void itemStateChanged(ItemEvent var1) {
  17.       if (!this.this$0.animOrbCb[this.field_0].getState() && !this.this$0.animOrbCb[1 - this.field_0].getState()) {
  18.          this.this$0.animOrbCb[1 - this.field_0].setState(true);
  19.       }
  20.  
  21.       if (this.this$0.page > 1) {
  22.          if (this.this$0.running) {
  23.             this.this$0.running = false;
  24.             this.this$0.runB.dispatchEvent(new ActionEvent(this.this$0.runB, 1001, ""));
  25.          }
  26.  
  27.          this.this$0.reset();
  28.       }
  29.  
  30.       this.this$0.repaint();
  31.    }
  32. }
  33.