ADC Home > Reference Library > Technical Q&As > Legacy Documents > Java >
Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
|
Q: When I use the screenMenuBar property from Q&A 1003, submenus in my Swing application do not update if I add or remove JMenuItems to them. A: This is a known problem with the current screenMenuBar implementation, and does not occur when using AWT, or using Swing without the screenMenuBar property set. The only current workaround is to remove and rebuild the submenu so the changed contents are forced to repaint in the Mac OS Screen MenuBar. Listing 1 shows how this might be done.
[Jul 12 2002] |
|