home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / esc.jar / com / extensibility / esc / PreferencesDialog$5.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-06-30  |  1.4 KB  |  34 lines

  1. package com.extensibility.esc;
  2.  
  3. import com.extensibility.app.DialogFactory;
  4. import com.extensibility.app.UI;
  5. import com.extensibility.rock.RAction;
  6. import java.awt.event.ActionEvent;
  7.  
  8. class PreferencesDialog$5 extends RAction {
  9.    // $FF: synthetic field
  10.    final PreferencesDialog this$0;
  11.  
  12.    public void actionOccurred(ActionEvent var1) {
  13.       try {
  14.          int var2 = Integer.parseInt(this.this$0.tfMinutes.getText());
  15.          if (var2 < 1) {
  16.             throw new Exception("");
  17.          }
  18.       } catch (Exception var3) {
  19.          DialogFactory.stop(this.this$0.parent, UI.getString("dialog.preferences.correct.minutes.message"));
  20.          this.this$0.tfMinutes.setText("10");
  21.          return;
  22.       }
  23.  
  24.       PreferencesDialog.access$7000071(this.this$0);
  25.       this.this$0.setVisible(false);
  26.       this.this$0.canceled = false;
  27.       this.this$0.dispose();
  28.    }
  29.  
  30.    PreferencesDialog$5(PreferencesDialog var1) {
  31.       this.this$0 = var1;
  32.    }
  33. }
  34.