[OpenMap Users] Refresh Problem

From: Monte Philip V NPRI <MontePV_at_Npt.NUWC.Navy.Mil>
Date: Mon, 01 May 2006 16:29:07 -0400

I am having a refresh problem. I have two panels in a JFrame (CENTER and EAST), with the map in the center. I set the visibility of the east JPanel (which contains Swing components on them: labels, buttons, etc) to false. As a result, the map will expand over the area where the panel was filling the entire JFrame. This is what I expect, however, when I set the visibility of the east JPanel back to true, the map does not resize (even if I call a repaint, revalidate, ordoPrepare). It will only resize/redraw when I physcially resize the window.

Philip V. Monte

Software Engineer
Code 2514, Warfare Interoperability Branch
NAVSEA Warfare Centers Division Newport
(401) 832-5325



[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon May 01 2006 - 16:56:16 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT