🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to create MDI application?

#8534
From: Tomas Urbanec
Date: Mon, 14 Aug 2000 00:00
55 lines
1868 bytes
This peace of code is from that example.... it doesn't work


"Siegfried M�nch" <SMuench@muench.de> wrote in message
news:3995c4ed$1_2@dnews...
> Hello Tomas,
>
> you can find a example for mdi-application on url:
>
>
http://web2.java.sun.com/docs/books/tutorial/uiswing/components/components.h
> tml
>
> bye
> Siegfried M�nch
>
> "Tomas Urbanec" <urbi@i.am> schrieb im Newsbeitrag
news:3992d403_2@dnews...
> > I have descendant of JFrame. It's contentPane is set to desktopPane.
> > I have this code:
> >       fmSQL = new IFmSQL( conn );
> >       fmSQL.setVisible( true );
> >       desktop.add( fmSQL );
> >       try
> >           {
> >           fmSQL.setSelected( true );
> >           }
> >       catch(java.beans.PropertyVetoException exc) {}
> >       }
> >
> > fmSQL is descendat of JInternalFrame.
> > it's constructor looks like this
> >   public IFmSQL( java.sql.Connection conn )
> >   {
> >     super( "fgf",true,true,true,true );
> >     this.conn = conn;
> >     try
> >     {
> >       jbInit();
> >     }
> >     catch(Exception e)
> >     {
> >       e.printStackTrace();
> >     }
> >   }
> >
> > And after this happens nothing. How can I display internal frames?
Where's
> > the bug?
> >
> > thanks
> >
> >
>
>
Technical Details
Message-ID: <3997e0ed$1_1@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3992d403_2@dnews> <3995c4ed$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,516a101183ad099c
X-Google-Attributes: gid111d45,public
From: "Tomas Urbanec" <urbi@i.am>
Subject: Re: How to create MDI application?
Date: 2000/08/14
Message-ID: <3997e0ed$1_1@dnews>
X-Deja-AN: 658097248
References: <3992d403_2@dnews> <3995c4ed$1_2@dnews>
X-Original-NNTP-Posting-Host: 207.105.83.65
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Organization: N/A
X-MSMail-Priority: Normal
Reply-To: "Tomas Urbanec" <urbi@i.am>
Newsgroups: borland.public.jbuilder.java.swing