Donald Dietrick <dietrick@bbn.com> writes:
> Hi Jon,
>
> It depends on the LayoutManager that is assigned to the JPanel. The
> MapBean isn't sized or positioned properly when a FlowLayout is used,
> for instance, but is OK if the JPanel has a GridLayout. I'm not
> really sure where the MapBean is when you add it to a JPanel with a
> FlowLayout, but it thinks it's a 10x10 pixel component. That should
> be visible if it's in the real estate of the visible area of the
> JPanel.
This was indeed the problem. It went away when I used a BorderLayout
and added the bean to the center.
I could have sworn that I had tried this before, but apparently I
hadn't.
Thanks
Jon
-- [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 Fri Dec 7 07:23:26 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT