Re: [OpenMap Users] AnimationTester Plugin in ver. 4.6

From: Don Dietrick <dietrick@bbn.com>
Date: Sun Mar 14 2004 - 10:15:06 EST

Hi Steve,

You might want to take a look at the code for the
com.bbn.openmap.gui.BasicMapPanel, which uses the java.awt.BorderLayout
object to place components within a JPanel.

Just to help out with the terminology, you aren't really connecting to
a java map server, per se. The OpenMap MapBean is a
javax.swing.JContainer, which is a java.awt.Component, the point being
that OpenMap components are just Java components that should obey the
standard layout controls that all Java GUI components follow. So, you
can add your buttons to the BasicMapPanel using some
com.bbn.openmap.gui.Tool that holds your buttons and places them in the
ToolPanel of the BasicMapPanel, or you can just add a
MapBean/BasicMapPanel to your layout.

Hope this helps,

Don

On Mar 4, 2004, at 5:00 PM, steven frierdich wrote:

> I am new to Java, like very new. I have been tasked to develop a map
> server using the java open map. Does anyone have any example code to
> show how one can add a JPanel positioned to the right of the other
> buttons located at the top of the open map java server? Attached is a
> power point presentation showing what I am trying to accomplish. In
> the upper right one can view the JPanel with six buttons. . Creating
> the JPanel with the buttons is not the issue, it how does one attach
> it to the open map server as shown in the first slide of the power
> point presentation. I am software developer who has six years VC++,
> C++,VB, Wind32, ATL experience. My Java experience is about 2 days. I
> would appreciate any feedback on how to accomplish that task mentioned
> above.
> Thanks
> Steve
>
>
>
> <JPanel to Open Map Server.ppt>

--
[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 Sun Mar 14 17:12:39 2004

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