🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #13264

How Changing Menu at runtime

#13264
From: Michael R�ther
Date: Thu, 27 Aug 1998 00:00
12 lines
827 bytes
Hi

I have a little problem adding a JMenu Component to a JMenuBar at runtime.
I use the Command JMenuBar.add(JMenu), this work well. The Problem is now I
don�t see the chage (the new MenuBar with the added JMenu) immediately.
The new JMenu is shown by changing the Frame size.

Is there a method wich forces the desired behavior.

Thanks a lot

Michael
Technical Details
Message-ID: <6s3371$mia6@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,58131980b09ab841,start
X-Google-Attributes: gid111d45,public
From: "Michael R�ther" <mroether@rz.fh-augsburg.de>
Subject: How Changing Menu at runtime
Date: 1998/08/27
Message-ID: <6s3371$mia6@forums.borland.com>
X-Deja-AN: 385198213
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Newsgroups: borland.public.jbuilder.java.swing