public void dispose() { for (Chart chart : targets) { chart.getCanvas().removeMouseController(this); } super.dispose(); }