🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18413

ImageControl and Java Plugin

#18413
From: chienli
Date: Fri, 26 Jun 1998 00:00
25 lines
1898 bytes
I created a java applet using Borland's JBuilder 2 that would update an image
in an ImageControl every time a button is pressed... very simple applet. This
uses JApplet along with Swing 1.0.1.  Everything runs great under JDK's
appletviewer from JDK 1.1.6 as well as Netscape's JDK1.1 plugin.  However, it
runs funny using IE and doesn't run at all using Netscape 3.0... so, going for
compatibility (since members of my company uses all three browsers), I decided
to use Sun's Java Plugin (formerly known as JAVA Applicator) to run the
applet.
The weird thing is that Java Plugin 1.1 is supposed to have the 1.1.6 JRE, and
should be the same as the one used by appletviewer right? Yet when I run my
applet from my browser using the pluggin the images in the ImageControl does
not show.  It gives me a ClassCastException from ImageControl... along with
some junk about Metallookandfeel...
Yet, when I set JAVA Plugin to use classes from JDK1.1.6 instead of "default"
(which I installed seperately), everything works fine.

can someone please help me and tell me what I am doing wrong?  I don't want
all the users to have to install both JAVA plugin and JDK 1.1.6! Please help.
thanks in advance

Charlie

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading
Technical Details
Message-ID: <6n0vkh$tvb$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,3533f48796ad67be,start
X-Google-Attributes: gidf74b3,public
From: chienli@uclink4.berkeley.edu
Subject: ImageControl and Java Plugin
Date: 1998/06/26
Message-ID: <6n0vkh$tvb$1@nnrp1.dejanews.com>
X-Deja-AN: 366384985
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Fri Jun 26 20:17:21 1998 GMT
Newsgroups: borland.public.jbuilder.java.language