Article View: borland.public.jbuilder.java.language
Article #16812Re: JDK1.2 with Jbuilder 2.0x.... maybe a solution ?.....
From: Richard Wilkman
Date: Wed, 13 Jan 1999 00:00
Date: Wed, 13 Jan 1999 00:00
78 lines
3289 bytes
3289 bytes
Dillan:
Get the JBuilder 2.01x update!
The real crux of the issue, however, is that you really have to decide
if you are going to use 1.2 or 1.1. It's just as big, if not bigger,
a decision as the switch from 1.02 to 1.1.
-Rich
Dillan Fernando wrote:
>
> Hi All!
>
> There was a message posted by Mr. Richard Wilkman, explaining the problems
> when using jdk 1.2 with Jbuilder 2.0x, As I recall the main problem is the
> package names used by jdk 1.2 (javax.swing.*).
>
> I wrote a small bean which uses swing components. I was really stuck when
> deploying my bean, since I don�t know what JDK the customers who purchase by
> bean will be using. So I wrote a small patch. Which basically is bridge
> between 1.1.6 and 1.2. The bridge is really simple. Here is a sample
>
> Package com.sun.java.swing.Jframe
>
> Public class Jframe extends javax.swing.Jframe{
>
> Public Jframe()
> {
> }
> }
>
> With this I was able to deploy by bean, and customers who uses 1.2 can
> download the patch and set the classpath to it.
>
> The bean I wrote was relatively small. I don�t know whether this approach
> can be adopted for big applications.
>
> The above solution got me thinking�maybe a solution for JBuilder 2.-x +
> jdk1.2 problem�. Hmmm?!!
>
> (OK before I begin I know that there are a lot of Java experts out there,
> who would have thought about this much earlier, than me. Also, maybe the
> solution I�m about to suggest, is not implementable. So excuse me if I sound
> really stupid. And If this cannot be implemented, can anyone tell me why)
>
> Ok. Inprise, negotiates with sun and get�s a jdk1.2 version, which has the
> earlier package names. This special jdk1.2 version can be integrated into
> Jbuilder 2.0x. Inprise puts this on their web, so all the Jbuilder users can
> download it.
>
> inprise also develop a new Deployment Wizard, which attaches the Deflector
> classes (Bridge classes), to the classes in the current package. (Inprise
> put this wizard, also in the web for all to download)
>
> Ok.. first question Is this stupid ???
>
> Second question, if this cannot be implemented, why ?
>
> Regards
>
> Dillan Fernando
> Sri Lanka
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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:
<369D30C0.C9D81319@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<77ipqh$sm21@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f74b3,2d1bf96e7f0453f4,start X-Google-Attributes: gidf74b3,public From: Richard Wilkman <rwilkman@inprise.com> Subject: Re: JDK1.2 with Jbuilder 2.0x.... maybe a solution ?..... Date: 1999/01/13 Message-ID: <369D30C0.C9D81319@inprise.com> X-Deja-AN: 432330926 Content-Transfer-Encoding: 8bit References: <77ipqh$sm21@forums.borland.com> Content-Type: text/plain; charset=iso-8859-1 Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language