I created a JTree component for viewing layers - extending the
LayerPanel but i have some problems managing the data concerning the
Layer Properties Panel - the layer palette - I would like to show popup
menu with showAttributes item enabled if there is a palette for layer or
disapled if there isn't. When i call
Container a = ((Layer) node.getUserObject()).getPalette();
a is always null even if the layer has got the palette. Is there a way
to determine if the layer has got a palette??
Mchmiel
--
[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 Sun Jul 03 2005 - 18:04:36 EDT