Re: [OpenMap Users] mouseClicked in embedded openmap

From: Don Dietrick <dietrick_at_bbn.com>
Date: Wed, 1 Apr 2009 16:58:00 -0400

Hi Janelle,

I would put some printout statements in your extended class and check
the java console for the applet for that output, to make sure your
class is actually being loaded. I can't think of another reason why
map clicks would work in an application but not in an applet.

- Don

On Mar 20, 2009, at 9:02 AM, Blazier, Janelle wrote:

> Don –
>
> I basically copied EsriPlugIn.java, renamed it, and modified it.
> Yes, it is in the openmap.jar file. I also edited the
> MouseMoved(MouseEvent) function, and it works correctly when it is
> in embedded.
>
> Thanks!
>
> Janelle
>
> From: Don Dietrick [mailto:dfdietrick_at_gmail.com]
> Sent: Thursday, March 19, 2009 9:26 PM
> To: Blazier, Janelle
> Cc: <openmap-users_at_bbn.com>
> Subject: Re: [OpenMap Users] mouseClicked in embedded openmap
>
> Hi Janelle,
>
> Is the code you modified in the codebase of the applet, i.e. In the
> openmap.jar file?
>
> -- Don
>
> On Mar 19, 2009, at 6:33 PM, "Blazier, Janelle" <Janelle.Blazier_at_dynetics.com
> > wrote:
>
> I created a custom mouseClicked(MouseEvent) function for a
> EsriPlugIn layer, and it works fine when I run it as a stand alone
> GUI. However, when I embed this into a website, none of my mouse
> clicks are working. It’s like it doesn’t register. Does anyone
> know what I need to do to fix it?
>
> Here is my sample PHP code for embedding the jar file into my
> website, which I pulled from the demo site.
>
>
> <HTML>
> <BODY bgcolor="FFFFFF">
> <center>
> <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH =
> "800" HEIGHT = "500" >
> <PARAM NAME = "CODE" VALUE = "com.bbn.openmap.app.OpenMapApplet">
> <PARAM NAME = "CODEBASE" VALUE = "." >
> <PARAM NAME = "CACHE_OPTION" VALUE = "Plugin" >
> <PARAM NAME = "CACHE_ARCHIVE" VALUE = "openmap.jar" >
> <EMBED
> type = "application/x-java-applet;version=1.3"
> java_CODE = "com.bbn.openmap.app.OpenMapApplet"
> java_CODEBASE = "."
> WIDTH = 800
> HEIGHT = 500
> cache_option = "Plugin"
> cache_archive = "openmap.jar" >
>
> <NOEMBED>
> No Java support for applet!
> </NOEMBED>
> </EMBED>
> </OBJECT>
> </center>
> </BODY>
> </HTML>
>
> Thanks,
>
> Janelle Blazier

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Apr 01 2009 - 16:58:46 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT