I want to create a JCheckBoxMenuItem that is operable, but invisible on the menu 
to hide some options from the general users but allow "those who know" to 
activate them.

setVisible(false) removes the item from the menu entirely
setForeground(getBackground()) makes the text invisible

but how do I handle the box icon? Is there a better approach to this 
requirement?

TIA,
Pat

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Patricia Keith                  And how are you spending your dash?  
NASA Glenn Research Center      
at Lewis Field                  
Cleveland, OH                  
Phone: (216) 433-5191                           
Fax:   (216) 433-8000
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to