Article View: borland.public.jbuilder.java.swing
Article #10488Re: Gridbaglayout in designer
From: Tor Iver Wilhelmsen
Date: Mon, 13 Sep 1999 00:00
Date: Mon, 13 Sep 1999 00:00
23 lines
1380 bytes
1380 bytes
"Steve" <sfuchs@visualanalytics.com> writes: > Normally with a new project JBuilder uses JBCL and a GribBagConstrainst2 > class. Yes, if you use JBuilder 2. > What is the problem with JBuilder using a normal GridBagConstraints class. Because Sun didn't provide a constructor for setting all properties until JDK 1.2. Such a constructor is necessary for a "beans" tool (which the designer is) to set a property via propertyEditor.getJavaInitializationString(). Note that GridBagConstraints was the _only_ java.awt. "struct" class which didn't have one - Point, Rectangle, Dimension, Font etc. all provided such a constructor. > Anyone else have this problem? Well, you could just extract that particular class from jbcl20.jar into a separate archive and add it as a library "JBuilder Designer Requirements" or something. For simplicity, you may also want to add XYLayout and XYConstraints.
Technical Details
Message-ID:
<uhfkzqrgq.fsf@sds.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7rbar9$15r14@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,2f221ff439d9e589 X-Google-Attributes: gid111d45,public From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Subject: Re: Gridbaglayout in designer Date: 1999/09/13 Message-ID: <uhfkzqrgq.fsf@sds.no> X-Deja-AN: 524346170 Sender: towi@SDSA1761 References: <7rbar9$15r14@forums.borland.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing