Article View: borland.public.jbuilder.java.swing
Article #12954Re: JBuilder2 swing applets in browsers.
From: Pierre A. von Kaenel
Date: Mon, 12 Oct 1998 00:00
Date: Mon, 12 Oct 1998 00:00
35 lines
2151 bytes
2151 bytes
First, if you are developing applets for the Internet (not a company intranet), the usual advice you find in the newsgroups is to use JDK 1.0.2 and not use swing. If you *really* want to use JDK 1.1.6 with swing (as JBuilder insists on doing in most cases) and deploy to the internet, then do the following: Go to Sun's Java site and get the file that converts HTML files so that Sun's Java plugin is used. This gives the browser swing capabilities (and JDK 1.1 if an older browser is used). Also get and install the plugin on your PC. Of course, JBuilder's jar files include swing and (I think) 1.1 stuff, which isn't needed if the plugin is used (and makes a jar download much longer over a modem). Consider avoiding including these in the jar (or not use jar). Using your edited HTML files using Sun's converter, when a client accesses your web page, the plugin is checked and if not found, the user is sent to Sun's site to download it. This happens once, since once installed, the user's plugin will kick in every time your page is accessed. This saves a lot of time opening the Java applet (not having to download swing, and 1.1). The down side to all this is that Mac users are left in the cold. BTW, I seem to recall reading here that JBuilder is really best used to generate applications, not applets (unless they are to be used in an intranet environment). For the internet, though, using JDK 1.1 and swing leads to many problems! -- Pierre A. von Kaenel Math & Computer Science Dept. Skidmore College Saratoga Springs, NY 12866
Technical Details
Message-ID:
<36221F4F.E9BD20B4@skidmore.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6vr6aa$93014@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,9c1de6e67ca9d1ab X-Google-Attributes: gid111d45,public From: "Pierre A. von Kaenel" <pvonk@skidmore.edu> Subject: Re: JBuilder2 swing applets in browsers. Date: 1998/10/12 Message-ID: <36221F4F.E9BD20B4@skidmore.edu> X-Deja-AN: 400270651 Content-Transfer-Encoding: 7bit References: <6vr6aa$93014@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: Skidmore College Mime-Version: 1.0 Reply-To: pvonk@skidmore.edu Newsgroups: borland.public.jbuilder.java.swing