🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Opening a JFrame from the Menu

#10216
From: François
Date: Thu, 28 Oct 1999 00:00
16 lines
1187 bytes
In an application, I'm using a principal JFrame, with a JMenuBar. The
action performed when I click on a JMenuItem is to open a new small
JFrame.

If the first thing I do in the Application is to click on a JMenuItem,
the small JFrame is opened but immediatly put in the background, behind
the principal window.

The problem dose not appears it I do something else before (click on a
button, type text in a textfield, click on the MenuBar (not a Menu
Item)). The problem appear always only one time, and the small window
opens correctly from the second time I click on a Menu Item.

Do someone know where it can come from ?

Fran�ois
Technical Details
Message-ID: <38186378.CB24E1DA@messel.emse.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,a597cc19f2a07ad6,start
X-Google-Attributes: gid111d45,public
From: François <fdecarre@messel.emse.fr>
Subject: Opening a JFrame from the Menu
Date: 1999/10/28
Message-ID: <38186378.CB24E1DA@messel.emse.fr>
X-Deja-AN: 541656700
Content-Transfer-Encoding: 8bit
Organization: Another Netscape Collabra Server User
X-Accept-Language: fr
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing