Article View: borland.public.jbuilder.java.swing
Article #12412Re: BETA of javax.swing IDE RAD GUI patch to JBuilder 2.01 IDE available now from web site
From: Greg Hamer
Date: Sun, 10 Jan 1999 00:00
Date: Sun, 10 Jan 1999 00:00
27 lines
1850 bytes
1850 bytes
The JBuilder1 designer did not have any idea about getContentPane or getViewport being magical methods that need to be invoked in order to add things to the container that requires them. Consequently , the designer could not design JFrames, JDialogs or JApplets directly. It also had painting problems when directly designing lightweight components, so designing JPanels was not very much fun. People did discover a trick of designing the contentPane itself by setting the ContentPane to a Panel, and then activating the designer on that Panel. The designer handled lightweight components added to a heavyweight Panel. Changing the definition of the contentPane from Panel to JPanel after done designing would be a trivial last step. Martin Folger wrote: > > JBuilder 1.0 and Swing > > Hi > I wonder whether it is possible (and a good idea) to use JBuilder 1.0 with > swing classes. > Is it possible to have swing controls (JButton etc.) treated by JBuilder 1.0 > like awt contols. I.e. can I drag and drop them while building applications? > I thought it is possible, given that swing components are JavaBean compliant > (?) > but so far I failed to get anything done. > > Thank you > > Martin
Technical Details
Message-ID:
<36993BE0.48F8DB7B@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<777qh1$jou5@forums.borland.com> <36978E0A.8C5DA0BC@hgu.mrc.ac.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,fb9a6ff3e3242da2 X-Google-Attributes: gid111d45,public From: Greg Hamer <ghamer@inprise.com> Subject: Re: BETA of javax.swing IDE RAD GUI patch to JBuilder 2.01 IDE available now from web site Date: 1999/01/10 Message-ID: <36993BE0.48F8DB7B@inprise.com> X-Deja-AN: 431047833 Content-Transfer-Encoding: 7bit References: <777qh1$jou5@forums.borland.com> <36978E0A.8C5DA0BC@hgu.mrc.ac.uk> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing