try {
oObj = the_access.getControl(the_Model);
the_win = the_access.getControl(the_Model).getPeer();
aControl = the_access.getControl(the_Model2);
the_kit = the_win.getToolkit();
aDevice = the_kit.createScreenCompatibleDevice(200, 200);
aGraphic = aDevice.createGraphics();
} catch (com.sun.star.container.NoSuchElementException e) {
log.println("Couldn't get OImageControlControl");
e.printStackTrace(log);
throw new StatusException("Couldn't get OImageControlControl", e);