home *** CD-ROM | disk | FTP | other *** search
/ All for Cell Phones: Sony Ericsson / Sony-Ericsson 2004.iso / Java / Chains / Chains.jar / LogoCanvas$nextImageTimerTask.class (.txt) < prev    next >
Encoding:
Java Class File  |  2002-08-14  |  787 b   |  21 lines

  1. import java.util.TimerTask;
  2.  
  3. class LogoCanvas$nextImageTimerTask extends TimerTask {
  4.    // $FF: synthetic field
  5.    private final LogoCanvas this$0;
  6.  
  7.    public LogoCanvas$nextImageTimerTask(LogoCanvas var1) {
  8.       this.this$0 = var1;
  9.    }
  10.  
  11.    public void run() {
  12.       if (this.this$0.currentLogo == this.this$0.logos.length - 1) {
  13.          this.this$0.display.setCurrent(this.this$0.next);
  14.       } else {
  15.          ++this.this$0.currentLogo;
  16.          this.this$0.repaint();
  17.       }
  18.  
  19.    }
  20. }
  21.