• Advertisement


This topic is now archived and is closed to further replies.

[java] Glass Panes & menus

This topic is 5849 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m currently working with glass panes, but I seem to have run into a small obstical, namely I have a menubar, with drop down menus and I am using a glass pane to allow overlaying & manipulating components. The problem is that I am detecting if the mouse has hit the JMenubar, or a JDesktopPane and that works fine, but I start to have problems when a menu has dropped down because I can''t select anything via the mouse - the glass pane is always getting references to the JDesktopPane component - how can I resolve this ?

Share this post

Link to post
Share on other sites

  • Advertisement