• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPopupMenu and full screen, Mac OS 10.4

Joe Vahabzadeh
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ok, first off, I should probably ask if there's any good forums that anyone knows of that specific to Java development on Macs - there appear to be some, ah, shall we say, "interesting" quirks with Java on a Mac.

That said, I'm having this particular issue.

I have a class that extends JPanel. At one point, when the user performs a specific action, I want to show a JPopupMenu (it's actually a class that extends JPopupMenu, but not significantly so).

Now, the user can choose to have the application running in normal mode, or in fullscreen mode. Fullscreen mode is done via:

where myJFrame is the JFrame that the application and all its gui components exist within.

My JPopupMenu works fine in normal mode, and works in fullscreen mode for Solaris, Windows, Linux, and Mac OS 10.5, but NOT Mac OS 10.4

In Mac OS 10.4, the functionality of the menu works, but it's never actually visible when in fullscreen mode - I can bring it up, but can't see it, can navigate the JPopupMenu's items with the keyboard, etc.

I've tried doing a setLightWeightPopupEnabled(false) on this component, as well as trying JPopupMenu.setDefaultLightWeightPopupEnabled(false), but to no avail.

Has anyone run into this sort of thing? Anyone know of a workaround?

Thanks in advance. And again, if anyone knows of a good Macintosh-centric Java forum somewhere, I'd appreciate it (I know we have a Mac OS forum here, but it doesn't seem to be specific to Java issues)
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic