ObjectRegistry controlRegistry = SWTNativeComponent.getControlRegistry();
synchronized(controlRegistry) {
final int componentID = (Integer)args[0];
Object canvasHandle = args[1];
final Shell shell = createShell(canvasHandle);
shell.addControlListener(new ControlAdapter() {
private boolean isAdjusting;
@Override
public void controlMoved(ControlEvent e) {
if(isAdjusting) {
return;