🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to create MDI application?

#8506
From: Tomas Urbanec
Date: Thu, 10 Aug 2000 00:00
32 lines
1258 bytes
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: <3992d403_2@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,516a101183ad099c,start
X-Google-Attributes: gid111d45,public
From: "Tomas Urbanec" <urbi@i.am>
Subject: How to create MDI application?
Date: 2000/08/10
Message-ID: <3992d403_2@dnews>
X-Deja-AN: 656807194
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
X-Trace: 10 Aug 2000 09:10:43 -0800, 62.168.111.142
Organization: N/A
X-MSMail-Priority: Normal
Reply-To: "Tomas Urbanec" <urbi@i.am>
Newsgroups: borland.public.jbuilder.java.swing