🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JInternalFrame / Dialog boxes help w/ MDIapp

#9778
From: Jesper Berglund
Date: Wed, 26 Jan 2000 00:00
59 lines
2227 bytes
This is a multi-part message in MIME format.
--------------F665E3FABBBBE43B4F214FDC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi Jay Guha!
The JInternalFrame does not have a modal "interface" for public use as the
frame has.
However, if u use the JOptionPane.showInternalMessageDialog() that can be
solved.
The lines can be wrapped with inserting a '\n' character ..

hope this helpes!

Jesper Berglund           Data Ductus
Java/C++ Developer    Sweden


Jay Guha wrote:

> Hi
>
> I am trying to build a MDI App,so I am using the JInternalFrame classes
> to gen my child windows from the main DeskTop.
>
> The problem is I am trying to build an AboutBox which subclasses of
> JDialog. The constructor expects a JFrame obj to be passed in, not a
> JInternalFrame.
>
> Can anyone show me how to build a custom dialog box which subclasses off
> a JInternalFrame so that my MDI app can get a dialog box.
>
> Thanks
>
> Jay Guha.//...

--------------F665E3FABBBBE43B4F214FDC
Content-Type: text/x-vcard; charset=us-ascii;
 name="jesper.berglund.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Jesper Berglund
Content-Disposition: attachment;
 filename="jesper.berglund.vcf"

begin:vcard 
n:Berglund;Jesper
tel;cell:+46 (0)70 - 555 7954
tel;work:+46 (0)910 - 73 23 00
x-mozilla-html:FALSE
url:http://www.dataductus.se
org:Data Ductus;Development
adr:;;;Skellefte�;;;Sweden
version:2.1
email;internet:Jesper.Berglund@dataductus.se
title:Software Engineere
fn:Jesper Berglund
end:vcard

--------------F665E3FABBBBE43B4F214FDC--
Technical Details
Message-ID: <388EAB38.98014761@dataductus.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <388E2E9F.6456A375@apogeenet.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c7fc002a65f77701
X-Google-Attributes: gid111d45,public
From: Jesper Berglund <jesper.berglund@dataductus.se>
Subject: Re: JInternalFrame / Dialog boxes help w/ MDIapp
Date: 2000/01/26
Message-ID: <388EAB38.98014761@dataductus.se>
X-Deja-AN: 577750140
References: <388E2E9F.6456A375@apogeenet.com>
X-Accept-Language: en
Content-Type: multipart/mixed; boundary="------------F665E3FABBBBE43B4F214FDC"
X-Trace: 26 Jan 2000 09:09:13 +0100, ns.boliden.se
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing