Article View: borland.public.jbuilder.java.swing
Article #1782Re: How can i avoid com.Borland.jbcl.Layout.BoxLayout using java.swing.Box
From: John McGrath [TeamB]
Date: Mon, 21 Jul 2003 06:55
Date: Mon, 21 Jul 2003 06:55
19 lines
1750 bytes
1750 bytes
On 7/20/2003 at 6:07:36 PM, 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?. Unfortunately, the Sun BoxLayout class is not a JavaBean, which makes it difficult for the UI Designer to work with it. That is why JBuilder provides a BoxLayout2 class -- this is a JavaBean. One approach is to use the Designer, have it create a BoxLayout2, and then when you are done, change the BoxLayout2 to a BoxLayout. -- Regards, John McGrath [TeamB]
Technical Details
Message-ID:
<3f1b8e6a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<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-21 00:09:21 PST From: "John McGrath [TeamB]" <ng-b@jpmcgrath.net> Subject: Re: How can i avoid com.Borland.jbcl.Layout.BoxLayout using java.swing.Box Newsgroups: borland.public.jbuilder.java.swing References: <3f1b129c@newsgroups.borland.com> User-Agent: XanaNews/1.15.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 NNTP-Posting-Host: 151.197.210.86 Message-ID: <3f1b8e6a@newsgroups.borland.com> Date: 20 Jul 2003 23:55:38 -0700 X-Trace: newsgroups.borland.com 1058770538 151.197.210.86 (20 Jul 2003 23:55:38 -0700) Lines: 19 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail