Rectangle b = simulator.getBounds();
DesktopScreenRegion smallRegion = new DesktopScreenRegion(b.x, b.y, b.width, b.height);
TargetEventListener l = new TargetEventListener(){
@Override
public void targetAppeared(TargetEvent event) {
System.out.println(event.getTarget() + " has appeared within " + event.getScreenRegion() +
" at " + Relative.to(event.getTargetRegion()).topLeft().getScreenLocation());
canvas.clear().addBox(event.getTargetRegion());