This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Applets and the fly likes ConfigurationInfo - Please Help!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "ConfigurationInfo - Please Help!!!!" Watch "ConfigurationInfo - Please Help!!!!" New topic
Author

ConfigurationInfo - Please Help!!!!

Michael Bunch
Ranch Hand

Joined: Jun 27, 2002
Posts: 31
Does anyone know how to get access to the class sun.plugin.panel.ConfigurationInfo from within Java code? My code will not compile when I try to instantiate this class. Any ideas?
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8843
    
    7

Whenever you use a class that is not in the API, you need to add that class or a jar containing it to the classpath. You can peek into a jar using Winzip or jar -t <jarfile>. You will probably find this class in a jar among the plugin files.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Michael Bunch
Ranch Hand

Joined: Jun 27, 2002
Posts: 31
I put the jaws.jar file in a directory that all of my extensions are in which is in the CLASSPATH, and I am still getting an error. Specifically:
package sun.plugin.panel does not exist

Has anyone ever tried this or know of any workarounds or issues that I should be aware of? Thanks for your help.
Murali Kurukunda
Ranch Hand

Joined: Oct 20, 2003
Posts: 36
I am not sure why it would not work. Are you sure that the .class you mentioned is in jaws.jar? what version of JDK/JRE are you using? In JDK/JRE 1.4.x the ConfigurationInfo.class is in plugin.jar
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: ConfigurationInfo - Please Help!!!!
 
Similar Threads
how to convert a .jsp to a .java/.class file
How to make my class iterable?
Anonymous Inner Class
When can a classes be declared private?
reflection - invoking Methods by Name!!!