Article View: borland.public.jbuilder.java.swing
Article #12982Changing jMenubar at run time
From: Tony Tse
Date: Thu, 15 Oct 1998 00:00
Date: Thu, 15 Oct 1998 00:00
11 lines
850 bytes
850 bytes
How can I change the jMenubar dynamically at run time ?
I have set up a JFrame which contain 2 jMenubars. I have tried to change
the jMenubar by the method this.setMenubar(jMenubar1) and
this.setMenubar(jMenuBar2). But it seems to be only 1 menubar can work ? how
can I switch between the 2 jMenubar at run time ?
Thank you for anyone who can help me!
Best Regards,
Tony Tse
Technical Details
Message-ID:
<702jt6$k2f19@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,833ded922f507d2e,start X-Google-Attributes: gid111d45,public From: "Tony Tse" <tselm@ha.org.hk> Subject: Changing jMenubar at run time Date: 1998/10/15 Message-ID: <702jt6$k2f19@forums.borland.com> X-Deja-AN: 401033745 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.swing