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
posted
0
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-applet,"
"x-java-bean," or
"x-java-vm"
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.
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.
Walter Gabrielsen Iii
Ranch Hand
Joined: Apr 09, 2011
Posts: 158
posted
0
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
posted
0
Dear Walter Gabrielsen lii,
I did that whatever is shown on your given link but there is no success.