try {
oObj = the_access.getControl(the_Model);
aControl = 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();
xPS.setPropertyValue("Spin", new Boolean(true));
} catch (com.sun.star.uno.Exception e) {
log.println("Couldn't get EditControl");