Re: [OpenMap Users] Openmap as JInternalframe?????

From: Don Dietrick <dietrick@bbn.com>
Date: Mon Nov 24 2003 - 17:10:57 EST

Hi Harpreet,

On Nov 21, 2003, at 6:19 AM, Harpreet wrote:

> hello freinds
>
> iam new to openmap
>
> i am having certain queries????
>
> pls try to guide
>
> wut iam doing is that iam making the Openmap map as JInternalframe to
> main JFrame
> this part was not much tricky
>
> to my jframe menubar iam adding a menu as "Map"
> i want that when i select a Menuitem from this menu it should be
> implemented on the internalframe i.e. openmap frame
>
> could u pls tell me how to do this

The java.awt.event.ActionListener attached to your MenuItem should call
show() on the JInternalFrame you have containing the OpenMap map.

> and one more thing to that menu i am adding "Zoom2X" as menuitem
> so to implement the operation "Zoom2x" which class should be used????
>

You should check out the code for the com.bbn.openmap.gui.NavigateMenu,
it has zoom buttons on it. You can copy how those menu options work.

- Don

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Nov 24 17:10:17 2003

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT