try {
oObj = the_access.getControl(the_Model);
anotherCtrl = the_access.getControl(the_Model2);
the_win = the_access.getControl(the_Model).getPeer();
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 OImageButtonControl");
e.printStackTrace(log);
throw new StatusException("Couldn't get OImageButtonControl", e);