I'm using a method in java.awt.Color that is in the 1.3 JRE, but not in the 1.1 JRE (and i don't want to force people to download a new plug-in). Is there a way to include java.awt.Color in my JAR file and force the JRE to use the one i included and not the one it has?
You could download the Sun html converter and apply it to your applet tag. The HTML Converter is a tool that automatically converts applet tags to the format required by Java Plug-in, directing the browser to install and run the plugin jvm from the sun server instead of its own jvm. http://java.sun.com/products/plugin/1.3/docs/html_converter.html Julia
Julia, I am almost sure that the html converter forces users to download a new JVM before executing. I don't want to have to force them into that. I was wondering if there was a way around that, by say, just including the only class i use from 1.2/1.3.
Anil, I have no solution. I simply caught the unknown method error, and used another method that doesn't work as well (but is in 1.1) in the catch block.
Don't get me started about those stupid light bulbs.