🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How can i avoid com.Borland.jbcl.Layout.BoxLayout using java.swing.Box

#1779
From: Rich Wilkman
Date: Mon, 21 Jul 2003 03:13
25 lines
2239 bytes
Kostas:

Borland had to write the helper class because the UI Designer needs Java 
Beans to work on and that's one of a handfull of classes from Java HQ 
(inventors of Java Beans) to not actually be a bean.  You should be able 
to make a jar file for your stuff that only has the small jbcl set you 
need and then include that in your WAR file.  You shouldn't have to 
deploy all of jbcl just to use the helper class (similar situation when 
working with GridbagLayout).

-Rich

Kostas wrote:

>I observe that when i set a Boxlayout to a panel from the designer the class
>Boxlayout comes from the com.borland.jbcl.layout. I tried to use the Box
>myBox=Box.createVerticalBox(); statement but the designer fails to load the
>Frame. Can you tell me a way to avoid use the  com.borland.jbcl.layout
>package?. The executable jar file (generated from the archive builder) load
>the jbcl and the data access library. The previous version of the executable
>jar war 13KB and with this additional libraries is sizing 1,27MB !!!!!
>
>
>  
>
Technical Details
Message-ID: <3F1B5A50.70403@formlessvoid.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!pln-w!extra.newsguy.com!lotsanews.com!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!proxad.net!213.253.16.105.MISMATCH!mephistopheles.news.clara.net!news.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f1b129c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,5fdbc5e10ba518ce
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-07-20 20:24:02 PST
Message-ID: <3F1B5A50.70403@formlessvoid.com>
Date: Sun, 20 Jul 2003 20:13:20 -0700
From: Rich Wilkman <richw@formlessvoid.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: How can i avoid com.Borland.jbcl.Layout.BoxLayout using java.swing.Box
References: <3f1b129c@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 63.249.85.97
X-Trace: newsgroups.borland.com 1058757190 63.249.85.97 (20 Jul 2003 20:13:10 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!pln-w!extra.newsguy.com!lotsanews.com!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!proxad.net!213.253.16.105.MISMATCH!mephistopheles.news.clara.net!news.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail