Article View: borland.public.jbuilder.java.swing
Article #11784Re: avoiding jbcl?
From: Richard Wilkman
Date: Wed, 14 Apr 1999 00:00
Date: Wed, 14 Apr 1999 00:00
59 lines
2819 bytes
2819 bytes
Paul: Now, this isn't some lame language like C here! <g> A package import (where you use *) doesn't mean squat. You still only use the expliclty referenced classes from the code. A package import simply allows access to all members of the package; it doesn't bring them in like the evil, evil #include. There have been several suggestions that a deja-news search would turn up on this. If folks can't bring themselves to include that very tiny file and don't want to add the 10 or so lines of code per constraint I've encouaged them to look at the source and copy it into their own util package. A quick change in import and a recompile before deploying and they've removed the horrible jbcl from their project. However, they do have a deployment license for that class, that class calls on no other classes so does not increase the deployed set by more then it's own size (and less if a compressed archive is used). Ah well. It is such a bad thing that it has been incorporated into Java 2 and will probably be back ported to JDK 1.1x in the future. -Rich Paul Franks (TeamB) wrote: > > I don't have a direct answer, but I would guess this could be a bug > workaroundaround for the original GridbagConstraints class. > > Untested..... Can you avoid importing jbcl.* if you make an explicit > import of GridbagConstraints2? > > mv@enator.dk says... > // The problem is, that if I use a GridbagLayout, JBuilder2 insist on > // importing JBCL in order to use its GridbagConstraints2 class. > // > // Even if I replace this with the old GridbagConstraints, every time > // I place a new button or move an existing on around JBuilder automatically > // uses GridbagConstraints2 and imports JBCL. > // > // > > -- > pf -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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:
<37150ADA.27E1790F@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7es8v5$ar04@forums.borland.com> <MPG.117e8cb0812f5fe1989b75@forums.inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,adb18793a260417f X-Google-Attributes: gid111d45,public From: Richard Wilkman <rwilkman@inprise.com> Subject: Re: avoiding jbcl? Date: 1999/04/14 Message-ID: <37150ADA.27E1790F@inprise.com> X-Deja-AN: 466459704 Content-Transfer-Encoding: 7bit References: <7es8v5$ar04@forums.borland.com> <MPG.117e8cb0812f5fe1989b75@forums.inprise.com> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing