Arrgghh!!!!
The property works just fine... for JFrame based windows. It does NOTwork
for JApplet based windows.
This is documented so I guess I can't complain :-)
Now I just need to figure out how to convert our JApplet stuff to
JFrames...
Anyway, thanks for confirming that the property does work.
Kevin Hoyt
Michael Hall <email@hidden> wrote on 05/17/2006 03:59:23 AM:
>
> On May 16, 2006, at 5:41 PM, Kevin Hoyt wrote:
>
> > Hi all,
> > I'm trying to get a Java Application to have one menu (like it's
> > supposed
> > to) instead of one on every window.
> >
> >> From what I've read, I've tried this code:
> >
> > UIManager.setLookAndFeel("apple.laf.AquaLookAndFeel");
> > System.setProperty("apple.laf.useScreenMenuBar", "true");
> >
> > This does set the LAF correctly, but I still get one menu on each
> > window.
> >
> > I've also tried to set this property in the bundle plist.... still not
> > working
> >
> > What am I doing wrong???
>
> I also came across this, not sure based on what, but probably
> harmless if to doesn't help.
>
> setJMenuBar(getJMenuBar()); // Required for Aqua menus up top
>
> Mike Hall mikehall at spacestar dot net
> http://www.spacestar.net/users/mikehall
> http://sourceforge.net/projects/macnative
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden