Package com.jme3.system
Class AWTTaskExecutor
java.lang.Object
com.jme3.system.AWTTaskExecutor
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToExecute
(Runnable task) Add the givenrunnable
to the list of planned executions.void
execute()
Execute all the tasks that are waiting.static AWTTaskExecutor
Get the instance of the executor.
-
Method Details
-
getInstance
Get the instance of the executor.- Returns:
- the instance of executor.
-
getWaitingTasks
-
addToExecute
Add the givenrunnable
to 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:
-