Hi Christian,
yes, a nasty problem - my usual workaround is using buttons at the
top of the frame, each with a popup menu that comes up.
myMenuButton.addActionListener(this);
public void actionPerformed ...
if (source == myMenuButton) {
myPopupMenu.show(myMenuButton, 1, 1);;
A disadvantage of this method - the user interface is bit unusual:
A true menu pops up as soon as you press the mouse button. In my
solution with the buttons, the menu pops up after one releases the
mouse button (my attempts to fix this or work around it all failed).
Michael
________________________________________________________________
On 11 Feb 2009, at 10:35, Phase GmbH wrote:
> Hi,
>
> this is most likely a Java question. I programmed a small IJ plugin
> by extending the PlugInFrame class. The plugin frame has a menu
> bar. This is working fine under Windows and Linux but under Mac OS
> the menu bar of the plugin frame is not visible. What has to be
> done to get the menu bar visible in the plugin frame?
>
> Regards
>
> Christian Kreutzfeldt