I stumbled on a very odd problem while trying to set up a JMenuBar with the native look and feel of Gnome. Here is a screenshot:
http://img23.imageshack.us/i/issuel.png/
It has to say File there but it gets cut out.
Any, help is appreciated!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Looks like you are adding icon after the menu itself has been attached to the frame. You should do all menu operations before displaying it, or call
after all menu decorations are done.
I have something like this
in my
JFrameworking perfectly, also with GTK look-and-feel.