NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Tanis.7x
Joined: 19 Dec 2009 Posts: 2
|
Posted: Sat Dec 19, 2009 5:03 pm Post subject: JMenuBar not showing up |
|
|
I have a JApplet in which I want to replace the default "Applet" menu in the menu bar with my own menu bar. Unfortunately, due to the constraints of the project, I cannot use the GUI builder.
So I created a new JMenuBar and in my init method I used setJMenuBar to set the menu bar to my new menu bar, but when I run the Appet, it doesnt have my menu bar, only the old "Applet" menu.
Am I missing a setting that I need to use to turn off the Applet menu? |
|
| Back to top |
|
 |
Tanis.7x
Joined: 19 Dec 2009 Posts: 2
|
Posted: Mon Dec 21, 2009 9:16 pm Post subject: |
|
|
Quick update- It also happens with another compiler that I use. So almost certainly something with the code.
I create just one menu item (for now), add it to a new menu, then add that menu to the menu bar. I then use setJMenuBar to set the menu bar to my new menu bar, but I get nothing. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|