List of usage examples for javax.media.j3d InputDevice NON_BLOCKING
int NON_BLOCKING
To view the source code for javax.media.j3d InputDevice NON_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 va2 s . co m break; default: throw new IllegalArgumentException( "Processing mode must " + "be one of DEMAND_DRIVEN, NON_BLOCKING, or BLOCKING"); } }