🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: recompiling dbSwing with javax.swing package

#12475
From: Steve Waters
Date: Fri, 11 Dec 1998 00:00
65 lines
2845 bytes
Hi,

What Rchard says is right, you could mocha to decompile it and change the
package name with the sun tool, but as he says not everything moved into
javax.

This really is not an option for the faint of heart, and you will have to
invest quite an amount  of time for it.

Rather push Richard to do it ;-)  (gentle nugdge Richard)

Regards
Steve

Richard Wilkman wrote:

> Jeroen:
>
> It's not that simple as you don't have all the source (where it dives
> into dataset, etc.).
>
> One other cause for that particular method is that I don't think
> package renamer is aware of the exceptions to the renaming in JFC.
> For example, almost everything moved to javax, but L&F stuff didn't
> (and some was moved to a different deliverable).  So, if you rename
> from com.sun.* to javax.swing.*, all your UI L&F code gets the new
> name which is the wrong name in the new hierarchy.  I'm not sure how
> well it handles other ambiguities created by javax based on your
> imports.  For example, if you have an import java.util.* and a
> java.awt.* and a reference to a List object in the code, you have an
> automatic ambiguity in your code after the rename.
>
> -Rich
>
> Jeroen Zwartepoorte wrote:
> >
> > Hi,
> >
> > Can i recompile the dbSwing source (after running PackageRenamer to
> > convert the "import com.sun.java.swing.*;" to "import javax.swing.*")
> > and then distribute that with my jdk1.2 application?
> >
> > Right now, when i try to use dbSwing components with jdk1.2 it
> > complaints that it can't find the com.sun.java.swing package.
> >
> > Do we have to recompile it ourselves? Or will Inprise come with an
> > update soon?
> >
> > Jeroen Zwartepoorte
> > Jeroen@xs4all.nl
>
> --
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 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: <3671D28E.1204358C@bellsouth.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36715CA0.16E29792@xs4all.nl> <36717578.4DF2A137@inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,2d139c662043070
X-Google-Attributes: gid111d45,public
From: Steve Waters <steve_w@bellsouth.net>
Subject: Re: recompiling dbSwing with javax.swing package
Date: 1998/12/11
Message-ID: <3671D28E.1204358C@bellsouth.net>
X-Deja-AN: 421398929
Content-Transfer-Encoding: 7bit
References: <36715CA0.16E29792@xs4all.nl> <36717578.4DF2A137@inprise.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing