aspose file tools*
The moose likes Applets and the fly likes Unable to open Applet in Firefox/Mozilla Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Unable to open Applet in Firefox/Mozilla" Watch "Unable to open Applet in Firefox/Mozilla" New topic
Author

Unable to open Applet in Firefox/Mozilla

Nilesh Gupta
Greenhorn

Joined: Mar 01, 2006
Posts: 3
Hi All,

I am dveloping one applicatiion that does DnD(Drag and Drop) for picture images,and then upload the byte content to the server...
I have wriiten a code for the DnD and also got the signed jar(which will contain .class) to access local resource of the client machine.

Here is a HTML code that i am using to display Applet
<html>
<head>
<title>Dnd Uploader Screen</title>
</head>
<body>
<applet code="com.el.chandra.AppletJUploader.class" width="400" height="400" archive="app.jar" codebase="C:\Documents and Settings">
</applet>
</body>
</html>

using above file I am able to see the applet in IE browser, along with performing DnD operation.

But When i am using Mozilla/Firefox to open the applet , a Blank page comes...
can anybosy tell me where is the problem.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41529
    
  53
Welcome to JavaRanch.

Do you see any messages in the Java console?


Ping & DNS - my free Android networking tools app
Nilesh Gupta
Greenhorn

Joined: Mar 01, 2006
Posts: 3
Originally posted by Ulf Dittmer:
Welcome to JavaRanch.

Do you see any messages in the Java console?


No , The page is blank and even if we right click in the applet area nothing comes.... but when i seen the source of Html page, it has the applet declaration..looks like Applet is loaded but unable to see it...
is it a problem with , Browser or something else..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41529
    
  53
Any messages would be in the Java Console (which you can access through the Java Plugin control panle if you don't see it), not in the applet area in the browser.
Nilesh Gupta
Greenhorn

Joined: Mar 01, 2006
Posts: 3
Java Console is Empty.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Unable to open Applet in Firefox/Mozilla