log.info("Using device " + dev.getId());
final FrameBufferAPI api = dev.getAPI(FrameBufferAPI.class);
final FrameBufferConfiguration conf = api.getConfigurations()[0];
g = api.open(conf);
this.width = conf.getScreenWidth();
this.height = conf.getScreenHeight();
perform();