public void windowClosed(WindowEvent e) {
FrameworkLauncher.stopSimulation();
}
});
this.world.addMouseMotionListener(new MouseMotionListener() {
public void mouseDragged(MouseEvent e) {
setMouseTarget(new Point2d(e.getX(), e.getY()));
}
public void mouseMoved(MouseEvent e) {
setMouseTarget(new Point2d(e.getX(), e.getY()));