// grab display information from the renderer
final Semaphore gs = new Semaphore(0);
SceneWorker.addWorker(new WorkProcessor.WorkCommit() {
public void commit() {
try {
DisplaySystem ds = DisplaySystem.getDisplaySystem("JOGL");
out.append("Display adapter: ").append(ds.getAdapter()).append("\n");
out.append("Display vendor: ").append(ds.getDisplayVendor()).append("\n");
out.append("Driver version: ").append(ds.getDriverVersion()).append("\n");
out.append("Display renderer: ").append(ds.getDisplayRenderer()).append("\n");
out.append("API Version: ").append(ds.getDisplayAPIVersion()).append("\n");
out.append("\n\n");
} finally {
gs.release();
}
}