🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

MDI application

#746
From: sasha
Date: Mon, 06 Dec 2004 14:45
15 lines
1446 bytes
Hi. I need to design MDI application. I created public class ChildFrame 
extends JInternalFrame and in my main form i added such code:

   //Construct the frame
   public MDIForm() {
     enableEvents(AWTEvent.WINDOW_EVENT_MASK);
     try {
       jbInit();
//      ChildFrame frame;
       frame = new ChildFrame();
       this.getContentPane().add(frame);
       frame.setVisible(true);

But i've got very strange MDI-application :-) Does anybody can tell me 
(or show link) how can i build windows-like MDI application in JBuilder?
Technical Details
Message-ID: <41b47079@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!63.218.45.11.MISMATCH!newshosting.com!nx02.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,24a77c97c127a491,start
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 06 Dec 2004 16:45:07 +0200
From: sasha <trofimich@ukr.net>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
X-Accept-Language: ru-ru, ru
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: MDI application
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 195.5.17.2
Message-ID: <41b47079@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1102344313 195.5.17.2 (6 Dec 2004 06:45:13 -0800)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!63.218.45.11.MISMATCH!newshosting.com!nx02.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail