Advertisement Jump to content

Archived

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

NickB

[java] Glass Panes & menus

This topic is 6184 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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!