aspose file tools
The moose likes Applets and the fly likes Applet not displaying in Browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet not displaying in Browser" Watch "Applet not displaying in Browser" New topic

Applet not displaying in Browser

arvind kushwaha
Ranch Hand

Joined: Aug 12, 2011
Posts: 32
Dear Team,

I have Created one applet, but it not showing on browser..Please help me out i am new babie in applet.

Darryl Burke

Joined: May 03, 2008
Posts: 4910

Since you haven't provided any details at all, the best I can offer you is to point you to the Applet tutorial lesson:

luck, db
There are no new questions, but there may be new answers.
arvind kushwaha
Ranch Hand

Joined: Aug 12, 2011
Posts: 32
Dear Darryl Burke

I have created one JSP Known as applet-basic.html taken the help from

I had done all the thing which is mentioned on above website. When I running my application its not working in browser. but after clicking on above website/ basic demo/ after clicking on this link applet is asking for digital sinature when i click on yes. Then suddenly my program start working fine.

But when i running only my program is not showing anything in window just a blank window. May be because of digital signature i donot know why please help me out.

Thanks Darryl Burke
Walter Gabrielsen Iii
Ranch Hand

Joined: Apr 09, 2011
Posts: 158
Can you give us the details about how you are embeding the applet into the web page that you are loading to the browser as a test?

Are you using the APPLET tag? The object tag? A script? What is the extension of the Applet file, ".class" or ".jar" or something else?

If you embed with the Object tag, What is the content type (attribute "type=") that you give to the applet, example: application/java, application/x-java-applet? (I have noticed that, at least as of Java SE 6, that the Java plug-in only uses plain and version variations of "application/x-java-*" -- "application/java" isn't being registered as a mime-type in any of my browsers (Firefox, IE, Opera) by the Java installer. So, some of the earlier tutorials on Applets that tell you to use "application/java" don't work anymore.)

application/x-java-* variations being:
"x-java-bean," or
Plus, perhaps though this is optional, with ";version=" [x.x][.x] (x being a digit) added to the end for targeting specific versions of the JVM instead of running the applet with the latest version of Java installed on the user's machine.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10724

What do you see on your browser's console? Please copy paste the error message(s)

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
arvind kushwaha
Ranch Hand

Joined: Aug 12, 2011
Posts: 32
Dear Sir,

In Browser it show nothing I am attaching my JSP pages

<%@ page language="java" contentType="text/html; charset=UTF-8"
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<applet id="jumpLoaderApplet" name="jumpLoaderApplet"
<param name="uc_uploadUrl" value="uploadHandler.jsp"/>

I had taken the reference from

When i clicked on above link my project start working after accepting the applet warning.

But when i run my project without clicking on above link demo page it's show nothing in browser i don't understand why it happening please help me.

[Thumbnail for error.png]

Walter Gabrielsen Iii
Ranch Hand

Joined: Apr 09, 2011
Posts: 158
Since the problem isn't obvious, you need to open the Java console where you can find any error messages of problems that happen when your browser tries to run the Applet.

It looks like you're using Ubuntu, from your screen shot, so perhaps you may find this useful: How to show java plugin console.
arvind kushwaha
Ranch Hand

Joined: Aug 12, 2011
Posts: 32
Dear Walter Gabrielsen lii,

I did that whatever is shown on your given link but there is no success.

Anyway thanks
I agree. Here's the link:
subject: Applet not displaying in Browser