Article View: borland.public.jbuilder.java.swing
Article #11457JDialog Problem
From: Matthias Bandemer
Date: Wed, 02 Jun 1999 00:00
Date: Wed, 02 Jun 1999 00:00
16 lines
1051 bytes
1051 bytes
Hi, I have a problem with creating a JDialog. I want to create a modal dialog with titel "Modifying Data". So I use this constructor JDialog(Frame parentFrame, String title, boolean modal) but the parent component of this dialog is a panel. This panel is a child-component of another panel, which is the contentpane of the top-level-frame. Thats why I get an "incompatible types found" message: "found component, frame required". How con I access the top-level-frame from the JDialog-constructor? Thanks for help, Matthias
Technical Details
Message-ID:
<375585BB.1F9323B5@gmx.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,c40ee21b1dbc2637,start X-Google-Attributes: gid111d45,public From: Matthias Bandemer <matthias.bandemer@gmx.de> Subject: JDialog Problem Date: 1999/06/02 Message-ID: <375585BB.1F9323B5@gmx.de> X-Deja-AN: 484975279 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing