home *** CD-ROM | disk | FTP | other *** search
- class OCpfThread implements Runnable {
- Thread animator;
- OCAgrid parent;
-
- public void start() {
- if (this.animator == null) {
- this.animator = new Thread(this);
- this.animator.start();
- }
-
- }
-
- public void stop() {
- if (this.animator != null) {
- this.animator.stop();
- this.animator = null;
- }
-
- }
-
- public void run() {
- while(true) {
- try {
- Thread.sleep(100L);
- } catch (InterruptedException var3) {
- }
- }
- }
-
- OCpfThread(OCAgrid p) {
- this.parent = p;
- }
- }
-