wood burning stoves 2.0*
The moose likes Applets and the fly likes Grey box instead of applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Grey box instead of applet" Watch "Grey box instead of applet" New topic
Author

Grey box instead of applet

James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401
On a few people's computers, my JApplet is not loading - they're only getting the gray box.

I've removed the codebase and package for my JApplet code, so all the class file are in the same directory as my html file.

For the people who are having problems, I've asked them to click on Sun Swing JApplet demo and they just get a grey box there as well.

I've a feeling it's something to do with the users JRE / plug-in - but can anyone give me a better idea of what the issue is?

Thanks
James
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Your are right, something is wrong and it is JVM that connected with browser giving problem.

Which browser do you have?


My blood is tested +ve for Java.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41068
    
  43
Are there any messages in the Jana Console, or in the status bar at the bottom of the browser window?

It works fine for me with FireFox and Plugin 1.4.2_05.
[ March 01, 2006: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401
Thanks for the replies.

The message they are getting when the Sun JApplet tries to load is...
load: class TumbleItem not found

The browser is IE v6.0.28.

I've found out they can run the Sun TicTacToe Applet successfully, but seemingly not any Swing JApplets....
James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401
...I'm still stuck on this one.

Could it be that the user only has the MS JVM installed (which I understand doesn't include Swing)?

If so, does anyone know how to check?

Thanks,
James
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
First check FireFox is using with JVM?

Install Java and set FireFox to use Sun JVM and check the page again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Grey box instead of applet
 
Similar Threads
how to display a applet?
Why is screen flashing when I call repaint()?
simple applet won't run
swing doesn't work
JApplet, Tomcat & Linux