🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JFrame, JDialog and Focus

#11224
From: Michael Härtig
Date: Wed, 30 Jun 1999 00:00
27 lines
1517 bytes
Hi all,

I have an JApplet. It creates a JFrame. This JFrame creates a JDialog.
From this JDialog I want to open a second frame. My problem is:
In an applikation all it's ok. Starting the same code as an Applet I
can't activate the new JFrame. It beeps. I have to switch back to the
original JFrame, close the dialog, and then the new Frame can grab the
focus.
Any ideas????

Michael


-- 
           //// 
          (o o) 
+-----ooO--(_)--Ooo---------------------------------------+ 
|                                                         | 
| Michael H�rtig                 Neumann & Partner        | 
|                                Informationssysteme GmbH | 
| Softwareentwicklung            An der Hohen Stra�e 1    | 
|                                08393 Meerane            | 
|                                                         | 
+------------Oooo-----------------------------------------+ 
        oooO (  ) 
        (  )  (_) 
         (_)
Technical Details
Message-ID: <3779FA2A.189F8126@nupis.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,fff2e23b2d974357,start
X-Google-Attributes: gid111d45,public
From: Michael Härtig <haertig@nupis.de>
Subject: JFrame, JDialog and Focus
Date: 1999/06/30
Message-ID: <3779FA2A.189F8126@nupis.de>
X-Deja-AN: 495564290
Content-Transfer-Encoding: 8bit
Organization: Another Netscape Collabra Server User
X-Accept-Language: de
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing