🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3582

Re: Problem with Applets. I'm getting mad!!.

#3582
From: Andrew Bennett
Date: Tue, 11 Nov 1997 00:00
53 lines
3145 bytes
On Sun, 09 Nov 1997 19:07:45 +0100, Fernando Ruza Rodriguez
<fruza@mx3.redestb.es> wrote:

>I work as a JAVA programmer in a company in Madrid (Spain) and I use
>Borland JBuilder (standard version) to develop my programs. We work with
>an American software (TIBCO/Rendezvous http://www.rv.tibco.com) for
>developing our communication programs. At the present I'm developing a
>small JAVA Applet for making a demo, so the applet, theoreticaly, should
>work fine in any machine with a Java enabled browser such as Netscape
>4.03 or Microsoft Explorer.

A Java 1.1 applet won't work in those browsers unless you update their
Java VM's to the latest.  Microsoft's can be downloaded from
http://www.microsoft.com/java/   Netscape's can be picked off of
http://developer.netscape.com/  Choose JDK Preview on the right hand
side.


>The second problem is the following. The applet has to be independent of
>the machine (of course) and also of the library classes. I mean, when I
>made the applet, in the user interface I used some buttons, some text
>areas, some checkbox and so on. so, I have to import
>'borland.jbcl.layout.*' and 'borland.jbcl.control.*' classes. However
>this classes are inside a big file '.zip' of 2 Mb. so if I want my
>applet to be totally independent and to be able to execute the applet
>with a browser from any machine in wherever part of the world I have to
>include this big file in the web server so that people who want to
>execute my applet with a browser will have to download my small applet
>but the big file of 2 Mb. so this is fatal the time required is very
>big. I understand that if I use buttons, checkboxes and so on, I have to
>include these classes but I would like to include just these classes and
>not all the big '.zip' file. I was looking for the above classes inside
>the '.zip' file but I just found these names like dependecy files. I
>don't know what are these files and I don't know how to include just the
>classes that I need together my applet.


You can use the Deployment Wizard and narrow down just the classes you
need.  You can even package these classes in a JAR such that the
entire applet is downloaded at once.  See the HintsAndTips.txt file in
your JBuilder directory for details on deploying an applet, and also
visit the TechPubs page at http://www.borland.com/techpubs/.  They
have an updated section on Deployment of apps.



Andrew
--
  Andrew Bennett            ->  abennett@borland.com
  JBuilder info             ->  http://www.borland.com/jbuilder/
  JBuilder newsgroups info  ->  http://www.borland.com/newsgroups/
**** Please don't post a reply AND send email.  Do one.  I'll see it. ****
Technical Details
Message-ID: <3467a3c4.255641032@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3465FBF1.6893DB68@mx3.redestb.es>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,f0b8db63fef568f9
X-Google-Attributes: gid1089d0,public
From: abennett@borland.com (Andrew Bennett)
Subject: Re: Problem with Applets. I'm getting mad!!.
Date: 1997/11/11
Message-ID: <3467a3c4.255641032@forums.borland.com>
X-Deja-AN: 288436914
References: <3465FBF1.6893DB68@mx3.redestb.es>
Organization: None
Newsgroups: borland.public.jbuilder.java.api