This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
A JMenuBar placed into a JFrame or JApplet becomes invisible after a while in the Form Editor. This seems to be due to the fact that the setJMenuBar(menuBar) call disappears from the generated code. Placing the setJMenuBar(menuBar) call outside the generated code fixes the problem at runtime (of course), but not having the menubar in the Form Editor is annoying. I have seen one other person reporting this exact same problem on a newsgroup (he is running FreeBSD).
duplicate of issue 11825: - setMenuBar line not generated if added it to form was last operation which you do, or issue 14199 : - menu bar - Menu Bar that was renamed dissappears after reopen form file *** This issue has been marked as a duplicate of 14199 ***
> Gabor Kincses <npure2001@yahoo.com> wrote > Thanks for the update to duplicate. The netbeans > issue query page is ridiculously complex. I still > can't find any issue that have setJMenuBar in the > text. This issue tracking system is definitely > wasting everybody's time. Viva gnats! > The product is splendid. > Thanks, > Gabor Yes you are right, to type right query you must "meassure a long way " :0