🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to create MDI application using JBuilder

#11143
From: wim.van.leuven
Date: Mon, 12 Jul 1999 00:00
38 lines
1989 bytes
In article <7m48qt$49d$1@nnrp1.deja.com>,
  viraj@m1.opro.ne.jp wrote:
> Dear Jbuilder programmers,
>
> I am trying to develop an database application using jbulider. This
> application is a MDI application. It has menu in the main frame and
> from that menu the user can call new child frames. I found out a site
> which builds MDI applications using swing components.
> http://java.sun.com/products/jfc/tsc/friends/mdi-swing/mdi-swing.html
>
> Thougth this article help me lot in knowing how MDI application can be
> built, I found it difficult use it my application where I had to
design
> different child frames and attach it to the main frame.
> Any ideas are welcome.Also I am new to java and Jbuilder.
>
> bye,
> Viraj
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
>

As a matter a fact, it is quite simple to make an MDI app using Swing:

For the main form use a JFrame to which you add a JDesktopPane, and for
the child frames use JInternalFrame. Add the children to the desktop
pane of the JFrame and that all there is to it. You can add about
anything to an internal frame that you can add to a JFrame, including
menus, toolbars etc.

Cheers,

Wim Van Leuven.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Technical Details
Message-ID: <7mc3vu$fjt$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7m48qt$49d$1@nnrp1.deja.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,507a8e034d786580
X-Google-Attributes: gid111d45,public
From: wim.van.leuven@watco.be
Subject: Re: How to create MDI application using JBuilder
Date: 1999/07/12
Message-ID: <7mc3vu$fjt$1@nnrp1.deja.com>
X-Deja-AN: 500005550
References: <7m48qt$49d$1@nnrp1.deja.com>
X-Http-Proxy: 1.0 x32.deja.com:80 (Squid/1.1.22) for client 193.74.148.91
Organization: Deja.com - Share what you know. Learn what you don't.
X-Article-Creation-Date: Mon Jul 12 07:03:29 1999 GMT
Newsgroups: borland.public.jbuilder.java.swing
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)