notifyListenersExitMode( dropperMode );
}
}
);
// Initialize the dropper Mode, and let it exit itself:
dropperMode = new DropperMode( this );
dropperMode.addListener(
new DropperMode.Listener() {
public void pointSelected(Point2D p) {
setColor(p);
// // Trigger Mode-exit via the toggle button: