AW: [Mapserver-users] Compiling the boxzooming mapplet
Richard Greenwood
Rich@GreenwoodMap.com
Tue, 03 Dec 2002 11:03:07 -0700
--=====================_755534484==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed
A couple more things: I think you can get 1.4 compiled applets to run under
IE if you install the Sun 1.4 JRE. I think the problem is with the
Microsoft Java Virtual machine, but I am not a Java expert.
Steve Lime recommends using his jBox instead of mapplet because:
"mapplet is old code and you should be probably using the new jBox.java
code based on mapplet. It has updated method naming conventions so as to
jive with some DHTML and javascript libs I've written. You can nab
it at http://maps.dnr.state.mn.us/java/ "
I have added some line drawing capabilities to jBox to simulate a tool like
MapInfo and ArcView have. You can see it in action at:
http://www2.tetonwyo.org/mapserver/
And you can get my .java source at:
http://www.greenwoodmap.com/mapserver
Rich
At 06:23 PM 12/3/2002 +0100, you wrote:
>Thanks for the reply.
>
>I found a file mayscript.jar that contains the classes required for the Live
>Connect mechanism
>under http://www.applepiesolutions.com/mayscript/.
>
>I saved it as c:\j2sdk1.4.0_01\lib\mayscript.jar and added it to the
>CLASSPATH.
>Now I can compile the boxzooming mapplet with my jdk :-)
>
>Your experience with Sun Java 1.3 sdk is very interesting.
>I indeed have problems to run my applets under IE.
>I will try if it works better with version 1.3.
>
>Nicole
>
>
>-----Ursprungliche Nachricht-----
>Von: Richard Greenwood [mailto:Rich@GreenwoodMap.com]
>Gesendet: Dienstag, 3. Dezember 2002 16:24
>An: Nicole Bomeke
>Cc: mapserver-users@lists.gis.umn.edu
>Betreff: Re: [Mapserver-users] Compiling the boxzooming mapplet
>
>
>At 01:27 PM 12/3/2002 +0100, you wrote:
> >What ist necessary to compile the boxzooming mapplet?
> >
> >When I try to compile it with suns standard edition 1.4.0_01 of the jdk I
> >get the error
> >"package netscape,javascript does not exist".
>
>You need the Live Connect classes, which I think I found on the netscape
>site. They are in "winNPSDK.zip" or "winsdk40.zip". I found the Sun Java
>1.3 sdk worked better (it produced code that ran under IE)
>
> >When I try to compile it with Microsoft Visual J++ I get the error message
> >"createCustomCursor is not a method of class toolkit".
>
>I never got the MS compiler to work.
>
>Rich
>
>
>Richard W. Greenwood, PLS
>Greenwood Mapping, Inc.
>Rich@GreenwoodMap.com
>(307) 733-0203
>http://www.GreenwoodMap.com
Richard W. Greenwood, PLS
Greenwood Mapping, Inc.
Rich@GreenwoodMap.com
(307) 733-0203
http://www.GreenwoodMap.com
--=====================_755534484==.ALT
Content-Type: text/html; charset="us-ascii"
<html>
A couple more things: I think you can get 1.4 compiled applets to run
under IE if you install the Sun 1.4 JRE. I think the problem is with the
Microsoft Java Virtual machine, but I am not a Java expert.<br><br>
Steve Lime recommends using his jBox instead of mapplet because:<br>
"mapplet is old code and you should be probably using the new
jBox.java code based on mapplet. It has updated method naming conventions
so as to jive with some DHTML and javascript libs I've written. You can
nab <br>
it at
<a href="http://maps.dnr.state.mn.us/java/" eudora="autourl"><font color="#0000FF"><u>http://maps.dnr.state.mn.us/java/</a></u></font>
"<br><br>
I have added some line drawing capabilities to jBox to simulate a tool like MapInfo and ArcView have. You can see it in action at:<br>
<a href="http://www2.tetonwyo.org/mapserver/" eudora="autourl">http://www2.tetonwyo.org/mapserver/</a><br><br>
And you can get my .java source at:<br>
<a href="http://www.greenwoodmap.com/mapserver" eudora="autourl">http://www.greenwoodmap.com/mapserver</a><br><br>
Rich<br><br>
<br><br>
At 06:23 PM 12/3/2002 +0100, you wrote:<br>
<blockquote type=cite class=cite cite>Thanks for the reply.<br><br>
I found a file mayscript.jar that contains the classes required for the Live<br>
Connect mechanism<br>
under <a href="http://www.applepiesolutions.com/mayscript/" eudora="autourl">http://www.applepiesolutions.com/mayscript/</a>.<br><br>
I saved it as c:\j2sdk1.4.0_01\lib\mayscript.jar and added it to the<br>
CLASSPATH.<br>
Now I can compile the boxzooming mapplet with my jdk :-)<br><br>
Your experience with Sun Java 1.3 sdk is very interesting.<br>
I indeed have problems to run my applets under IE.<br>
I will try if it works better with version 1.3.<br><br>
Nicole<br><br>
<br>
-----Ursprungliche Nachricht-----<br>
Von: Richard Greenwood [<a href="mailto:Rich@GreenwoodMap.com" eudora="autourl">mailto:Rich@GreenwoodMap.com</a>]<br>
Gesendet: Dienstag, 3. Dezember 2002 16:24<br>
An: Nicole Bomeke<br>
Cc: mapserver-users@lists.gis.umn.edu<br>
Betreff: Re: [Mapserver-users] Compiling the boxzooming mapplet<br><br>
<br>
At 01:27 PM 12/3/2002 +0100, you wrote:<br>
>What ist necessary to compile the boxzooming mapplet?<br>
><br>
>When I try to compile it with suns standard edition 1.4.0_01 of the jdk I<br>
>get the error<br>
>"package netscape,javascript does not exist".<br><br>
You need the Live Connect classes, which I think I found on the netscape<br>
site. They are in "winNPSDK.zip" or "winsdk40.zip". I found the Sun Java<br>
1.3 sdk worked better (it produced code that ran under IE)<br><br>
>When I try to compile it with Microsoft Visual J++ I get the error message<br>
>"createCustomCursor is not a method of class toolkit".<br><br>
I never got the MS compiler to work.<br><br>
Rich<br><br>
<br>
Richard W. Greenwood, PLS<br>
Greenwood Mapping, Inc.<br>
Rich@GreenwoodMap.com<br>
(307) 733-0203<br>
<a href="http://www.greenwoodmap.com/" eudora="autourl">http://www.GreenwoodMap.com</a></blockquote>
<x-sigsep><p></x-sigsep>
<br>
Richard W. Greenwood, PLS<br>
Greenwood Mapping, Inc.<br>
Rich@GreenwoodMap.com<br>
(307) 733-0203<br>
<a href="http://www.greenwoodmap.com/" eudora="autourl">http://www.GreenwoodMap.com</a></html>
--=====================_755534484==.ALT--
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users