🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3292

Re: Swing 1.0.1

#3292
From: Joe Nuxoll
Date: Wed, 04 Mar 1998 00:00
27 lines
1819 bytes
Jennifer Merkel wrote:
> I have gotten some of the components to appear properly in the designer
> (some I have not tried yet) but when I try to change their properties in
> the inspector some times it works and other times it does not.  I have
> compiled and run what I have done so far using swing.  Are you using a
> JFrame to place your components on?  You should read the message I posted
> in the non-technical newsgroup about using JFrames in JBuilder.  It is
> posted under the name Vito Paladino.  The JFrame seems to make the other
> components work better although the components do not drag and drop or
> resize as easily.

Jennifer's idea is actually ingenious!  It works!  Here it is in short (all
credit goes to Jennifer):

To visually design a JFrame in JBuilder 1.01 (or 1.0), you need to add the
following line in the component initialization section (next to all the
"BevelPanel bevelPanel1 = new BevelPanel()" lines):

Container container = getContentPane();

In the visual designer, a 'container' will show up in the component tree under
the UI node.  Add things to it instead of the 'this'.

Good work Jennifer!

 - Joe Nuxoll
Technical Details
Message-ID: <34FD9F38.911C3FD9@corp.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34FBD443.EB5CB68F@arrakis.clara.net> <34FC1145.5F198240@edmundsassoc.com> <34FD235A.BCC9D5A9@arrakis.clara.net> <34FD6FD3.D04C367D@edmundsassoc.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,e455cc91cc95f773
X-Google-Attributes: gid1089d0,public
From: Joe Nuxoll <jnuxoll@corp.borland.com>
Subject: Re: Swing 1.0.1
Date: 1998/03/04
Message-ID: <34FD9F38.911C3FD9@corp.borland.com>
X-Deja-AN: 330819922
Content-Transfer-Encoding: 7bit
References: <34FBD443.EB5CB68F@arrakis.clara.net> <34FC1145.5F198240@edmundsassoc.com> <34FD235A.BCC9D5A9@arrakis.clara.net> <34FD6FD3.D04C367D@edmundsassoc.com>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api