----- Forwarded message from grf -----
_From grf Fri Jul 15 06:20:33 2005
Subject: MouseBehaviorJ2D construction
To: visad-list@xxxxxxxxxxxxx
Date: Fri, 15 Jul 2005 06:20:33 +0000 (GMT)
Full-Name: Geoff Freeman
Reply-To: g.freeman@xxxxxxxxxx
X-Mailer: ELM [2.4]
Content-Length: 779
Hi All,
A simple question. I tried to construct a MousBehaviorJ2D and got the
following error
Exception in thread "main" visad.VisADError: cannot construct class
visad.MouseHelper
at visad.java2d.MouseBehaviorJ2D.<init>(MouseBehaviorJ2D.java:73)
at visad.java2d.MouseBehaviorJ2D.<init>(MouseBehaviorJ2D.java:57)
at MT.<init>(MT.java:13)
at MT.main(MT.java:8)
Is there a better way to try to make a MouseHelperJ2D?
The simple program is below
Thanks
Geoff
--
Bureau of Meteorology
Phone (03) 9669 4827
------------------------------------
import visad.*;
import visad.java2d.*;
public class MT
{
public static void main(String[] args)
{
MT mt = new MT();
}
public MT()
{
MouseBehaviorJ2D m2D
new MouseBehaviorJ2D(new DefaultDisplayRendererJ2D());
}
}
----- End of forwarded message from grf -----
--
Bureau of Meteorology
Phone (03) 9669 4827