This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JMenuBar and LookAndFeel problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JMenuBar and LookAndFeel problem" Watch "JMenuBar and LookAndFeel problem" New topic
Author

JMenuBar and LookAndFeel problem

Michal Samos
Greenhorn

Joined: Nov 27, 2009
Posts: 4
Hi.
In my application I created my own LAF. I changed buttons, panel, menuItems, but i can`t set LAF for my JMenuBar.

It`s part of my class that extends MetalLookAndFeel:



It`s my JMenuBar UI class:



No one System.out is printed. How can I set LAF for JMenuBar?

Michal
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JMenuBar and LookAndFeel problem