Package com.jme3.system
Class AWTTaskExecutor
java.lang.Object
com.jme3.system.AWTTaskExecutor
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddToExecute(Runnable task) Add the givenrunnableto the list of planned executions.voidexecute()Execute all the tasks that are waiting.static AWTTaskExecutorGet the instance of the executor.
-
Method Details
-
getInstance
Get the instance of the executor.- Returns:
- the instance of executor.
-
getWaitingTasks
-
addToExecute
Add the givenrunnableto the list of planned executions.- Parameters:
task- the task to add.- See Also:
-
execute
public void execute()Execute all the tasks that are waiting.- See Also:
-