home *** CD-ROM | disk | FTP | other *** search
- package com.sun.java.swing;
-
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
-
- class SwingUtilities$TimerInvoker implements ActionListener {
- // $FF: renamed from: r java.lang.Runnable
- Runnable field_0;
- // $FF: renamed from: t com.sun.java.swing.Timer
- Timer field_1;
- public Object lock;
-
- SwingUtilities$TimerInvoker(Runnable var1) {
- this(var1, true);
- }
-
- SwingUtilities$TimerInvoker(Runnable var1, boolean var2) {
- this.lock = new Object();
- this.field_1 = new Timer(0, this);
- this.field_0 = var1;
- this.field_1.setRepeats(false);
- if (var2) {
- this.field_1.start();
- }
-
- }
-
- public void start() {
- this.field_1.start();
- }
-
- public void actionPerformed(ActionEvent var1) {
- try {
- this.field_0.run();
- } catch (Exception var6) {
- }
-
- Object var2 = this.lock;
- synchronized(var2){}
-
- try {
- this.lock.notifyAll();
- } catch (Throwable var5) {
- throw var5;
- }
-
- }
- }
-