JMapPane doesn't pick up the messages

Description

When JMapPane's MapViewer class is moved to another package and run, the buttons fail to load because the message.properties files is not found. The error is something like:

Exception in thread "main" java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
at org.geotools.gui.swing.ZoomInAction.<init>(ZoomInAction.java:38)
at org.geotools.demo.introduction.QuickStart.initGUI(QuickStart.java:445)
at org.geotools.demo.introduction.QuickStart.main(QuickStart.java:617)

The error used to be different, complaining explicitly about the message.properties file for the ZoomInAction (the first that it tries to load).

(This may be fixed already in which case the bug will have a negative lifespan.)

Environment

None

Activity

Show:
codehaus
April 10, 2015, 3:12 PM

CodeHaus Comment From: acuster - Time: Thu, 10 Aug 2006 17:25:31 -0500
---------------------
marking as fixed,

thanks ian

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

Affects versions

Priority

Highest
Configure