[josm-dev] JOSM session

Nakor nakor.osm at gmail.com
Sat Oct 16 14:06:32 BST 2010


     Hello,

I made good progress implementing ticket #4029 (JOSM sessions) but I am 
stuck at some point. To be able to reorder the layers correctly, set 
their visibilities and so on, I need to create those layers and get the 
resulting layer object.

Since layers are created in the background I sometimes get null pointers 
instead of the actual layer or when I try to re-order them, they have 
not been added yet to the main view.

How can I make sure that I get called AFTER the layer is created and 
added to the main view.

   Thanks,

N.



More information about the josm-dev mailing list