Article View: borland.public.jbuilder.java.swing
Article #64Re: How to let JBuilder understand GUI designed out of JB?
From: Kevin Dean [TeamB]
Date: Thu, 08 Dec 2005 11:16
Date: Thu, 08 Dec 2005 11:16
34 lines
2353 bytes
2353 bytes
Daniel Mark wrote: > > I have designed an GUI application out of JBuilderX. I would like to continue develop it with JBuilderX GUI tools, but I found that JB cannot load all those GUI I designed originally. > > I guess I didn't follow some rules of GUI design in JB. > > What should I do to fix this problem? Your best bet would be to create a simple form, drop some components on it, change some properties, and then look at the code that JBuilder generates. In short, JBuilder: - instantiates all components at the point of declaration - creates a default constructor and maybe one or two more - puts all the component configuration code in a method called jbInit() Once you've got an idea how the JBuilder designer generates code, reorganizing your code to conform to that model shouldn't be difficult. -- Kevin Dean [TeamB] Dolphin Data Development Ltd. http://www.datadevelopment.com/ NEW WHITEPAPERS Team Development with JBuilder and Borland Enterprise Server Securing Borland Enterprise Server http://www.datadevelopment.com/papers/index.html Please see Borland's newsgroup guidelines at http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<xn0eaqn911ff02000-kdean@www.teamb.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43978ee3$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,ddb7365961043e32
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Subject: Re: How to let JBuilder understand GUI designed out of JB?
Newsgroups: borland.public.jbuilder.java.swing
References: <43978ee3$1@newsgroups.borland.com>
Organization: Dolphin Data Development Ltd.
User-Agent: XanaNews/1.17.6.6
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobrp]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0eaqn911ff02000-kdean@www.teamb.com>
X-Ref: newsgroups.borland.com ~XNS:000003DB
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
NNTP-Posting-Host: 199.243.78.163
Date: 8 Dec 2005 04:16:42 -0700
X-Trace: newsgroups.borland.com 1134044202 199.243.78.163 (8 Dec 2005 04:16:42 -0700)
Lines: 34
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail