Article View: borland.public.jbuilder.java.swing
Article #10830Beginner : JB3 and JMenuBar
From: ptha0005_1_lsurf
Date: Sat, 07 Aug 1999 00:00
Date: Sat, 07 Aug 1999 00:00
13 lines
991 bytes
991 bytes
Hi,
I have a class "Desktop" (extends JFrame) with in the jbInit() method :
JMenuBar mb = new JMenuBar();
JMenu menu = new JMenu("File");
setJMenuBar(mb);
mb.add(menu);
It runs well on Win NT, but the menu is not visible in the JB3's
interface builder (the frame is).
I have tried it in a code generated by JB3's interface builder, and in
another code writed directly by me.
Thanks for hits and examples...
Regards,
Technical Details
Message-ID:
<37AC5DEE.DE4A25FB@libertysurf.fr>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,c3e79cc7c87af7,start X-Google-Attributes: gid111d45,public From: ptha0005_1_lsurf <pthazard@libertysurf.fr> Subject: Beginner : JB3 and JMenuBar Date: 1999/08/07 Message-ID: <37AC5DEE.DE4A25FB@libertysurf.fr> X-Deja-AN: 509971007 Content-Transfer-Encoding: 7bit X-Accept-Language: fr,en Content-Type: text/plain; charset=us-ascii Organization: TPA Conseil Mime-Version: 1.0 Reply-To: patrick.thazard@informaticien.com Newsgroups: borland.public.jbuilder.java.swing