[OpenMap Users] About adding swing component

From: <h0004429@eee.hku.hk>
Date: Tue Mar 30 2004 - 07:16:39 EST

Dear Don,
Would you mind elaborate more on the method you mentioned below by using the
getGUI method of the layer and adding it from the Mapbean. Since I am using the
OpenmapApplet as my framework, I just dont' know how and where to add my code.

Thousands Thanks
Yours sincerely,
James

I don't advise adding Swing components to a layer, it messes things up.
  Those components don't really get laid out, and if they do, they grab
all MouseEvents that the MapBean generates.

You should add GUI components for a layer to the layer's palette
provided in it's getGUI method, in other GUI components accessed via
the MapBean, or in a different plane in the MapBean.

- 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 Tue Mar 30 07:18:15 2004

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