This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 8873
    
    8

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ConfigurationInfo - Please Help!!!!