[Schmitzm-commits] r172 - trunk/src/org/geotools/gui/swing
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jun 30 22:40:00 CEST 2009
Author: alfonx
Date: 2009-06-30 22:40:00 +0200 (Tue, 30 Jun 2009)
New Revision: 172
Modified:
trunk/src/org/geotools/gui/swing/JMapPane.java
Log:
* Inserted one if ==null return check
Modified: trunk/src/org/geotools/gui/swing/JMapPane.java
===================================================================
--- trunk/src/org/geotools/gui/swing/JMapPane.java 2009-06-30 20:38:52 UTC (rev 171)
+++ trunk/src/org/geotools/gui/swing/JMapPane.java 2009-06-30 20:40:00 UTC (rev 172)
@@ -733,6 +733,7 @@
}
public void mouseClicked(MouseEvent e) {
+ if (mapArea == null) return;
// System.out.println("before area "+mapArea+"\nw:"+mapArea.getWidth()+"
// h:"+mapArea.getHeight());
Rectangle bounds = this.getBounds();
More information about the Schmitzm-commits
mailing list