*/
public LwjglHeadlessExample() {
// Setup our headless canvas for rendering.
// settings = new DisplaySettings(800, 600, 0, 0, 0, 16, 0, 4, false, false); // use this to try MSAA
settings = new DisplaySettings(800, 600, 0, 0, 0, 16, 0, 0, false, false);
canvas = new LwjglHeadlessCanvas(settings, this);
canvas.getRenderer().setBackgroundColor(ColorRGBA.BLACK_NO_ALPHA);
// Set up an image to show our 3d content in.
labelImage = new BufferedImage(settings.getWidth(), settings.getHeight(), BufferedImage.TYPE_INT_ARGB);
tmpData = ((DataBufferInt) labelImage.getRaster().getDataBuffer()).getData();