In a message dated 1/2/2003 6:09:34 PM Eastern Standard Time, dietrick@bbn.com writes:
Well, I created code that iterated over the MapHandler and picked
up objects that were "instanceof" ToolPanel, InformationDelegator
etc. and everything works!
Thanks for the explanations!
>
> > What I liked about OpenMapFrame was that it created the MenuBar,
> > ToolBar,
> > InformationDelegator, etc. automatically. Then it was a matter of
> > finding them and moving them into the JPanel.
> >
> > So do I now have to create these things from scratch?
>
> OpenMapFrame doesn't contain those widgets, it looks for and finds them
> in the MapHandler and knows where to put them. If they are still in
> the openmap.properties file openmap.components property, they should
> still be added to the frame. Likewise, you also have the option of
> creating them programmatically and simply adding them to the
> MapHandler. All the components should just find each other via the
> MapHandler, and hook themselves up accordingly. I think
> I'd
> investigate why they aren't appearing as expected, though.
>
-bj-
Bart J. Geraci
bjg@ModelSoftware.com
BJGeraci@aol.com
-- [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 Thu Jan 2 18:34:38 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:34 EDT