sportflyer Posted January 16, 2013 Share Posted January 16, 2013 I am new to this forum so I am not sure whether this is the right place to find help .Please Let me know if another forum is more appropriate: I have added an Applet to one of my webpages to launch an Application that shows a searcheable Family Tree. It is working well with Firefox, IE, and Chrome. I have no way to know whether it will work with other browsers like Safari I understand that to make this applet more universal I need to use Java Deployment Tool Kit. I have read the documents but I still don't understand how to use it since I am not a programmer nor familiar with JAVA. Can someone help me out? I can provide the Applet code that I used in my webpage. Thanks Link to comment Share on other sites More sharing options...
Ingolme Posted January 16, 2013 Share Posted January 16, 2013 How an applet works doesn't depend on the browser, just on the Java version that the user has and the operating system that Java is running on. The problem with applets is that they're outdated, and with recent Java security issues a lot of people have Java disabled. Firefox provided an update that automatically disables Java. Link to comment Share on other sites More sharing options...
sportflyer Posted January 17, 2013 Author Share Posted January 17, 2013 So what is replacing the outdated applet ? Link to comment Share on other sites More sharing options...
Ingolme Posted January 18, 2013 Share Posted January 18, 2013 Flash was, for a while. These days a combination of HTML 5 and Javascript can do basically everything applets were used for. Link to comment Share on other sites More sharing options...
xhtmlchamps1 Posted January 24, 2013 Share Posted January 24, 2013 Hello friend,this code may helps you to run your applet application in browsers like IE, netscape and safari.getJREs: function() { var list = new Array(); if (deployJava.isPluginInstalled()) { var plugin = deployJava.getPlugin(); var VMs = plugin.jvms; for (var i = 0; i < VMs.getLength(); i++) { list = VMs.get(i).version; } } else { var browser = deployJava.getBrowser(); if (browser == 'MSIE') { if (deployJava.testUsingActiveX('1.7.0')) { list[0] = '1.7.0'; } else if (deployJava.testUsingActiveX('1.6.0')) { list[0] = '1.6.0'; } else if (deployJava.testUsingActiveX('1.5.0')) { list[0] = '1.5.0'; } else if (deployJava.testUsingActiveX('1.4.2')) { list[0] = '1.4.2'; } else if (deployJava.testForMSVM()) { list[0] = '1.1'; } } else if (browser == 'Netscape Family') { deployJava.getJPIVersionUsingMimeType(); if (deployJava.firefoxJavaVersion != null) { list[0] = deployJava.firefoxJavaVersion; } else if (deployJava.testUsingMimeTypes('1.7')) { list[0] = '1.7.0'; } else if (deployJava.testUsingMimeTypes('1.6')) { list[0] = '1.6.0'; } else if (deployJava.testUsingMimeTypes('1.5')) { list[0] = '1.5.0'; } else if (deployJava.testUsingMimeTypes('1.4.2')) { list[0] = '1.4.2'; } else if (deployJava.browserName2 == 'Safari') { if (deployJava.testUsingPluginsArray('1.7.0')) { list[0] = '1.7.0'; } else if (deployJava.testUsingPluginsArray('1.6')) { list[0] = '1.6.0'; } else if (deployJava.testUsingPluginsArray('1.5')) { list[0] = '1.5.0'; } else if (deployJava.testUsingPluginsArray('1.4.2')) { list[0] = '1.4.2'; } } }} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now