List of usage examples for javax.media.j3d InputDevice BLOCKING
int BLOCKING
To view the source code for javax.media.j3d InputDevice BLOCKING.
Click Source Link
From source file:HelloUniverse.java
public void setProcessingMode(int mode) { // A typical driver might implement only one of these modes, and // throw an exception when there is an attempt to switch modes. // However, this example allows one to use any processing mode. switch (mode) { case InputDevice.DEMAND_DRIVEN: case InputDevice.NON_BLOCKING: case InputDevice.BLOCKING: processingMode = mode;/*from w ww . ja va 2 s .c o m*/ break; default: throw new IllegalArgumentException( "Processing mode must " + "be one of DEMAND_DRIVEN, NON_BLOCKING, or BLOCKING"); } }