The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

This topic is READ ONLY
import-bot (20211) [Avatar] Offline
[Originally posted by russ]

I followed example 7-3 in the book to add some JMenuItems to a JApplets JPanel.

The problem I have real-time data scrolling in the JPanel and the menu gets over
written immmediately after dropping into JPanel area. If there a "Over Write"
type mode for the Menus??

import-bot (20211) [Avatar] Offline
Re: JMenuItem being overpainted by JApplet info
[Originally posted by matt]

What kind of component are you using to scroll your data?

Try passing false to JPopupMenu's static setDefaultLightWeightPopupEnabled()
method before you instatiate any of your menus... this will force the popups
to be heavyweight and not be overlapped by any heavyweights below (you are
probably using a Canvas sub-class or some other heavyweight to scroll your