🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JFrame, JDialog and Focus

#11078
From: Matthias Bandemer
Date: Wed, 14 Jul 1999 00:00
35 lines
1745 bytes
Hi Michael,

I think your Dialog is modal. See JDialog - documentation to see, how to
create a non-modal JDialog.

Matthias

Michael H�rtig wrote:
> 
> 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: <378C6718.1454EC80@gmx.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3779FA2A.189F8126@nupis.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,fff2e23b2d974357
X-Google-Attributes: gid111d45,public
From: Matthias Bandemer <matthias.bandemer@gmx.de>
Subject: Re: JFrame, JDialog and Focus
Date: 1999/07/14
Message-ID: <378C6718.1454EC80@gmx.de>
X-Deja-AN: 500877333
Content-Transfer-Encoding: 8bit
References: <3779FA2A.189F8126@nupis.de>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing