VeaR/JEllipse

pl.krakow.cmuj.bioinformatics.jellipse
Class jEllipse.QuiteLazyAnimator

java.lang.Object
  extended by pl.krakow.cmuj.bioinformatics.jellipse.jEllipse.QuiteLazyAnimator
Enclosing class:
jEllipse

public class jEllipse.QuiteLazyAnimator
extends java.lang.Object

Prepared out of library sources Animator method that in its original version swamps the CPU not allowing e.g the JMenus to refresh and pop up.


Field Summary
private  net.java.games.jogl.GLDrawable drawable
           
private  java.lang.Runnable runnable
           
private  boolean shouldStop
           
private  java.lang.Thread thread
           
 
Constructor Summary
jEllipse.QuiteLazyAnimator(net.java.games.jogl.GLDrawable drawable)
          Creates a new NotSoGreedyAnimator for a particular drawable.
 
Method Summary
 void start()
          Starts this animator as Thread
 void stop()
          Stops this animator, blocking until the animation thread has finished.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

drawable

private net.java.games.jogl.GLDrawable drawable

runnable

private java.lang.Runnable runnable

thread

private java.lang.Thread thread

shouldStop

private boolean shouldStop
Constructor Detail

jEllipse.QuiteLazyAnimator

public jEllipse.QuiteLazyAnimator(net.java.games.jogl.GLDrawable drawable)
Creates a new NotSoGreedyAnimator for a particular drawable.

Method Detail

start

public void start()
Starts this animator as Thread


stop

public void stop()
Stops this animator, blocking until the animation thread has finished.


VeaR/JEllipse