try {
System.out.println("Devices: " + kinect.devices());
System.out.println("Subdevices: " + kinect.subdevices());
Device dev = kinect.open(0);
dev.setLED(Device.LED_GREEN);
gui = new TestInterface(dev);
dev.setCallback(gui);
dev.startVideo();
dev.startDepth();
gui.show();
//dev.stopVideo();
//dev.stopDepth();
dev.setLED(Device.LED_RED);
} finally {
kinect.shutdown();
System.out.println("DONE");