|
-
November 21st, 2005, 05:46 PM
#1
Applet Runs in Mozilla but not in IE (same VM used, others run ok)
Okay, I have asked several people about this, but with no luck. I have a java applet called Samello (It's a game using Othello rules), and the webpage I use for it uses the following html code:
<html>
<head><title>Samello 1.0</head>
<body>
<center>
<applet code= "Samello.class" width=600 height=400></applet>
</center>
</body>
</html></title>
The applet uses two class files, Samello.class and Board.class (the second is a child of the canvas class used to paint just the board).
I have used cardlayout and subclassed off of JApplet rather than Applet.
The applet loads and works fine in Mozilla (basically a netscape like browser), but will not load in ie (not even a grey square with a red 'X', just nothing). Internet explorer reports being "done" and that's all. I have run many other applets in IE, both from the WEB and from my machine. All of the other applets have run fine with no problems on Mozilla and on Internet Explorer. (I do not have Netscape installed, but am sure it would run well on it)
I am using the same VM on my Interenet Explorer as I am on my Mozilla browser.
Any thoughts on how this is happening?
Thanks.
-Samantha
-
November 22nd, 2005, 03:23 AM
#2
Re: Applet Runs in Mozilla but not in IE (same VM used, others run ok)
 Originally Posted by amethystsw
Internet explorer reports being "done" and that's all.
Well, do you know if the applet is running at all (it might be running, but not updating it UI etc.)?
And instead of the APPLET tag, have you tried using the OBJECT(or EMBED) tag?
- petter
-
November 22nd, 2005, 10:27 AM
#3
Re: Applet Runs in Mozilla but not in IE (same VM used, others run ok)
Check your java plugin config in control panel to make sure that the checkbox for IE is clicked in the advanced tab under Applet tag support.
"The Chicken and Rice MRE is not a personal lubricant."
-
November 24th, 2005, 12:09 PM
#4
Re: Applet Runs in Mozilla but not in IE (same VM used, others run ok)
Okay... nevermind... I'm an idiot! (heheheh) I can't believe I actually did that. I had the end of the title tag at the bottom of the document somehow. I have no idea how/why that happened. But there you have it. (Why in the world Mozilla would open the page baffles me)
Sorry,
Sam
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|