Article View: borland.public.jbuilder.java.api
Article #3584Re: Problem with Applets. I'm getting mad!!.
From: Kurt A. Zarefoss
Date: Tue, 11 Nov 1997 00:00
Date: Tue, 11 Nov 1997 00:00
62 lines
3813 bytes
3813 bytes
As a second thought to Andrew's note, if you still receive the error message after downloaded the lastest versions of Netscape and Internet Explorer, check what your Applet is trying to accomplish. Some security restrictions do apply to an Applet that is running via a web server, that do not come into play when running within JBuilder (for example, the Applet can not write a file to the server from which it was loaded, it can only communicate (via HTTP or Sockets) to the host from which it was loaded, etc.). Kurt Andrew Bennett wrote: > 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:
<34684D2C.B63A39DA@fred.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3465FBF1.6893DB68@mx3.redestb.es> <3467a3c4.255641032@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,f0b8db63fef568f9 X-Google-Attributes: gid1089d0,public From: "Kurt A. Zarefoss" <hawk@fred.net> Subject: Re: Problem with Applets. I'm getting mad!!. Date: 1997/11/11 Message-ID: <34684D2C.B63A39DA@fred.net> X-Deja-AN: 288573989 References: <3465FBF1.6893DB68@mx3.redestb.es> <3467a3c4.255641032@forums.borland.com> Organization: None Newsgroups: borland.public.jbuilder.java.api