By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,394 Members | 1,443 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,394 IT Pros & Developers. It's quick & easy.

Using java Applets

P: n/a
Hi,

I'm having problems with Java applets. I just generated a JApplet (also
tried normal Applet) in Netbeans which is delivered with the newest JDK.
When I compile it in Netbeans it seems to work fine. But when I try outside
Netbeans by opening the html page which is automatically generated I only
see a gray area where the applet was supposed to be... I tried some other
example applets on the internet. Some work but also many won't show up. Has
it something to do with some kind of option / component used in the applet?
The applet I created was just a JApplet with a Jbutton, a panel and a list.
I'm using win98 with IExploder 5.5

Greetings,
Rick
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Rick,
By default Microsoft uses an older version of JVM, which is compatible
with JDK 1.1.4 and does not support JSwing. If you are using any Swing
in your applet, MS VM won't be able to interpret that. You will have to
install the latest VM from Sun. On the other hand, if you are using
Netscape, it comes with Java 2 and your applet should work fine.

KB

------------------------------------------------------------------------
This email is certified to be Spam free by Spam Marshall

You don't pay to get spam, why pay to clean it?
Visit http://www.spammarshall.com to create an account for free
<http://www.spammarshall.com>

------------------------------------------------------------------------
Rick wrote:
Hi,

I'm having problems with Java applets. I just generated a JApplet (also
tried normal Applet) in Netbeans which is delivered with the newest JDK.
When I compile it in Netbeans it seems to work fine. But when I try outside
Netbeans by opening the html page which is automatically generated I only
see a gray area where the applet was supposed to be... I tried some other
example applets on the internet. Some work but also many won't show up. Has
it something to do with some kind of option / component used in the applet?
The applet I created was just a JApplet with a Jbutton, a panel and a list.
I'm using win98 with IExploder 5.5

Greetings,
Rick

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.