File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Grey box instead of applet

 
James Hodgkiss
Ranch Hand
Posts: 401
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3640
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your are right, something is wrong and it is JVM that connected with browser giving problem.

Which browser do you have?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
James Hodgkiss
Ranch Hand
Posts: 401
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 401
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...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
Posts: 3640
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic