|
-
October 14th, 2003, 10:27 AM
#1
URGENT help needed: Calling Java Swing Classes from an Applet or JSP.
Hi,
I have a couple of questions:
I have a complete stand-along Java application with GUI (using Swing) which I want to be able to called remotely. So I was thinking about putting it in a browser using Applet or JSP. Basically I have this compiled class file called "MappingApplication.class" which holds the code for the application that I tried calling from an applet but I am getting java.lang.NoClassDefFoundError: MappingApplication error. I have list the detailed stack trace below. I am not sure what to do. Anybody has any ideas? I do have Java Plug-in installed & I also tried using the HTML Converter from Sun but it didnt help.
If somehow I can get that GUI Application to get called from the browser and run inside the browser or stand-alone that would be great.
Any help would be appreciated.
Thanks,
V. Patel.
java.lang.NoClassDefFoundError: MappingApplication (wrong name: com/mapforce/MappingApplication)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|