Article View: borland.public.jbuilder.java.swing
Article #12702Re: JBuilder 2 without Swing
From: Richard Wilkman
Date: Thu, 05 Nov 1998 00:00
Date: Thu, 05 Nov 1998 00:00
70 lines
3726 bytes
3726 bytes
Kevin:
I'd start with:
http://www.got.net/~rwilkman/java
Applet Basics gives you a lot of info that will help. A lot of it has
to do with the mechanics of applets and what it means to run one from
a client. Summary of why you should not use JFC in Applets.
1. Anything that is not shipped with the browser has to be downloaded
to the client everytime your Applet runs. No browser ships with JFC
present, which means you'll add about 1M to the download for each
invocation of the Applet.
2. It's hard enough forcing your end user to update to 1.1 enabled
browser. JFC needs JDK 1.1.5 present and will need newer JDKs as more
bug fixes go into JFC. It's very easy to get to the position where
you've used something in JFC that needs a JDK that your clients won't
have.
Use of the Java Plug-in can alleviate some of this for the time being.
-Rich
Kevin Ruggiero wrote:
>
> I'm afraid I can't help much with your question, but one thing you said
> did catch my attention ("I've read in several posts that Swing is not
> for applets"). I'm hoping others on the newsgroup can comment on this
> statement. It's of particular interest to me, as I'm new to Java and
> I'm currently in the middle of designing an applet, and am using Swing
> to do so. Is Mr. Brattlund's statement true? Why or why not?
>
> Christer Brattlund wrote:
> >
> > Is it possible to use JBuilder 2 without Swing?
> >
> > I started working with our current project in JBuilder 1. I saw that there
> > was a new version of JBuilder (JBuilder 2) and upgraded. Suddenly everything
> > had changed (no backwardscompatibility there). Swing was introduced to me. I
> > was using JBCL controls and now those required Swing because I'm working
> > with an applet and I was forced to use JApplet instead of Applet to make it
> > work. I had to rearrange a lot. I had to use different controls because of
> > the Lightweight - heavyweight issues. After making my applet "compatible"
> > with JBuilder 2 I discovered that the jar-archive became way too big for an
> > archive (2 MB). I wish there was a way of using JBuilder 2 without Swing.
> > I've read in several posts that Swing is not for applets. But if I want to
> > make an applet? What do I do then? Switch back to JBuilder 1? I really
> > didn't want to do that because that version was even buggier to work with.
> > So I decided to use the JBCL archives from JBuilder 1. Then I didn't have to
> > use Swing. Is it really necessary to go through all this trouble to make an
> > applet with a decent size on the jar-file? Isn't JBuilder 2 for applets?
> > Just for applications?
> >
> > /Christer
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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:
<36422861.3D414231@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<71rm0k$djq8@forums.borland.com> <36420AE2.C6469A7F@Buffalo.EDU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,543deab39384e290 X-Google-Attributes: gid111d45,public From: Richard Wilkman <rwilkman@inprise.com> Subject: Re: JBuilder 2 without Swing Date: 1998/11/05 Message-ID: <36422861.3D414231@inprise.com> X-Deja-AN: 408820789 Content-Transfer-Encoding: 7bit References: <71rm0k$djq8@forums.borland.com> <36420AE2.C6469A7F@Buffalo.EDU> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing