Article View: borland.public.jbuilder.java.swing
Article #10216Opening a JFrame from the Menu
From: François
Date: Thu, 28 Oct 1999 00:00
Date: Thu, 28 Oct 1999 00:00
16 lines
1187 bytes
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-mailShow 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