πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8844

Re: Applets & Swing

#8844
From: Stephan Klaffer
Date: Mon, 03 Jul 2000 00:00
63 lines
2742 bytes
Yes, I have found a solution, but one I don't like very much.
Go to SUN's homepage, and have a look for the latest JRE. Install it. Then
have a look for something called HTML converter, also available from SUN.
This one will actually convert your HTML code (with the APPLET tag) into
something strange looking, hardly understandable. But this converted HTML
page will run in IE5 and NS4.7, using the SWING components.

There seems to be no other solution on current browsers. I don't like it
because the HTML now refers to an object by its GUID, which I feel a bit
worried about, because I don't know if all operating systems know how to
display such a page with such an object. However, if you only are interested
in WIN based browsers, there is no worry at all. The HTML will automatically
download the JRE if not present on the clients system.

Hope that helped a bit.

Stephan

"JedyMaster" <jedymaster@cgocable.ca> wrote in message
news:EES75.519$hk6.62847@carnaval.risq.qc.ca...
> Hi Stephan!
>
> I have the same problem here... Did you find the source of the problem or
a
> workaround? If so, I would be happy to have some insights...
>
> Thanks!
>
> Jedymaster
> jedymaster123@cgocable.ca  remove the 123 to get my right adress!
>
>
> Stephan Klaffer <stephan.klaffer@decisionworks.co.uk> a οΏ½crit dans le
> message : 962114291.16391.0.nnrp-06.c29f1f7c@news.demon.co.uk...
> > Hello everybody,
> >
> > I have a slight problem with SWING and APPLETS.
> > I want to write an applet using SWING components, but both browsers
> > (Netscape & IE5) refuses to load the applet.
> >
> > Does anybody knows why??
> >
> > The code is pretty simple for this.
> >
> >
> > import javax.swing.*;
> > public class MainApplet extends JApplet
> > {
> >     ....
> > }
> >
> >
> >
> > As soon as I switch to an AWT applet, it works fine.
> >
> > Any help would be appreciated.
> > Thanks a lot in advance,
> >
> > Stephan
> >
> >
>
>
Technical Details
Message-ID: <962639934.26146.0.nnrp-02.c29f1f7c@news.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <962114291.16391.0.nnrp-06.c29f1f7c@news.demon.co.uk> <EES75.519$hk6.62847@carnaval.risq.qc.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,bdc5170e5b5cbcff
X-Google-Attributes: gid111d45,public
From: "Stephan Klaffer" <stephan.klaffer@decisionworks.co.uk>
Subject: Re: Applets & Swing
Date: 2000/07/03
Message-ID: <962639934.26146.0.nnrp-02.c29f1f7c@news.demon.co.uk>
X-Deja-AN: 641873119
X-NNTP-Posting-Host: [194.159.31.124]:194.159.31.124
References: <962114291.16391.0.nnrp-06.c29f1f7c@news.demon.co.uk> <EES75.519$hk6.62847@carnaval.risq.qc.ca>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 962639934 nnrp-02:26146 NO-IDENT [194.159.31.124]:194.159.31.124
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing