repaint has no effect

From: Marklund David <David.Marklund@smhi.se>
Date: Mon Feb 18 2002 - 04:16:28 EST

Hi all,
I have implemented a rightclick-menu to add layers. When I do
'map.add(layer)', it does not repaint itself. If I force repaint by hiding
the window and
then show it, it repaints.

I have tried calling map.repaint(), and repaint on the panel it is in, with
no success.
Removing layers works fine.

Any ideas ?

Cheers

David

--
[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 Mon Feb 18 04:19:09 2002

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