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.
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:
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.