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.

Bug 16709 - setJMenuBar() call is elusive
Summary: setJMenuBar() call is elusive
Status: CLOSED DUPLICATE of bug 14199
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-19 05:08 UTC by Gabor Kincses
Modified: 2001-10-24 09:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kincses 2001-10-19 05:08:19 UTC
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).
Comment 1 Marian Mirilovic 2001-10-19 08:43:01 UTC
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 ***
Comment 2 Marian Mirilovic 2001-10-24 09:27:50 UTC
> 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