Class FakeLongTask

java.lang.Object
com.j3d.threads.FakeLongTask

public class FakeLongTask extends Object
Executes the same as LongTask but is simply for convention. A FakeLongTask is to be used when you want to simulate something taking long when in reality it wont.

The primary use case is for when you open the engine to display the splash text while the actual app opens on the EDT.

Author:
Lehlogonolo Poole
See Also:
  • Field Details

    • task

      private final Runnable task
    • taskFinished

      private final Runnable taskFinished
    • onEDT

      private final Runnable onEDT
    • EDTwaitSeconds

      private final double EDTwaitSeconds
  • Constructor Details

  • Method Details