🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: previous message mistake

#13276
From: Richard Wilkman
Date: Tue, 18 Aug 1998 00:00
71 lines
2981 bytes
Bruno:

If you can't deploy that class (it's only 4k), then you have two
options available to you.

1.  Look at the source we provide for it and make your own version in
your own util class

2.  Replace that one construct with the 8 or so lines of code it
replaces for every object in source.  That's the reason we added the
helper class in the first place.  Without the helper class you are
constantly doing constraints.setting all over the place.  The helper
class encapsulates that functionality.

I recommend the 1st one (if you can't deploy our class, I'm curious to
know the reason behind that).  If you use that mechanism you can still
use the designer and at deploy time change the import to point at your
util version instead of ours.

-Rich

Bruno Cesena wrote:
> 
> In the previous message i make a mistake!
> I would like to use GridBagLayout without "import
> borland.jbcl.layout.*;"
> if i remove that import i receive a compiler error at
> GridBagConstraints2(............)
> 
> Andrew Bennett [ Inprise ] wrote:
> 
> > Bruno Cesena wrote:
> > >
> > > anyone know how to use GridBagLayout without using:
> > > import com.sun.java.swing.*;
> >
> > GridBagLayout I don't think requires the swing classes.
> > One thing you could do would be to remark out that import
> > statement and attempt to compile.  Chances are you are using
> > a Swing control in your code - one that you might not be
> > aware of.
> >
> > Andrew
> > --
> >   Andrew Bennett
> >   abennett@inprise.com
> >
> >   Due to my workload, personal email more than likely won't get a
> > reply.
> >   Support options are detailed at
> > http://www.inprise.com/devsupport/
> >   I am unable to answer support questions via email at this time.
> >
> >   Check http://www.inprise.com/devsupport/jbuilder/ for FAQs and
> >   additional JBuilder support related help.
> >

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <35D99E3A.FA81D9C1@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35D863C5.D9EB09E1@ccd.uniroma2.it> <35D88BAC.3E2C75FD@inprise.com> <35D92FFF.21F6CDAF@ccd.uniroma2.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,5554818a194d4f7d
X-Google-Attributes: gid111d45,public
From: Richard Wilkman <rwilkman@inprise.com>
Subject: Re: previous message mistake
Date: 1998/08/18
Message-ID: <35D99E3A.FA81D9C1@inprise.com>
X-Deja-AN: 382309651
Content-Transfer-Encoding: 7bit
References: <35D863C5.D9EB09E1@ccd.uniroma2.it> <35D88BAC.3E2C75FD@inprise.com> <35D92FFF.21F6CDAF@ccd.uniroma2.it>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing