ParallelGraphics Forums
Browsers
You are here:
[Forums]
::
[Browsers]
All forums
How to use forums
Favorites
Services
Registration
Registration
Forgot your password?
Help
Help
Support
Quick search
Subscribe to newsletters
email:
password:
Browsers
[reply]
[back to forum]
[new message]
[all forums]
Subject:
please help NoClassDefFoundError
Sender:
filip.krystl@atlas.cz
24.10.06 04:47
Hi,
I want try connect VRML and Java into an applet, I have "Java runtime environment 1.1", Jbuilder2005 and Cortona VRML client 5.0
All examples in EAI Support on parallel Graphics page work with no problems, in my web browser IE 6.0
But when I try to write my own simple applet with method *.getBrowser, when running it throws an error:
java.lang.NoClassDefFoundError: com/ms/activeX/ActiveXControl
Could someone please help me how to solve it????
My code in Jbuilder looks like this:
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import vrml.eai.BrowserFactory;
public class Applet1 extends Applet {
boolean isStandalone = false;
BorderLayout borderLayout1 = new BorderLayout();
BrowserFactory browser;
public void init()
{
add (new Label ("This is the Java Applet with a "));
add (new Button ("No nothing button"));
browser.getBrowser(this);
}
//Main method
public static void main(String[] args) {
Applet1 applet = new Applet1();
applet.isStandalone = true;
Frame frame;
frame = new Frame();
frame.setTitle("Applet Frame");
frame.add(applet, BorderLayout.CENTER);
applet.init();
applet.start();
frame.setSize(400, 320);
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
frame.setLocation((d.width - frame.getSize().width) / 2,
(d.height - frame.getSize().height) / 2);
frame.setVisible(true);
}
}
[reply]
[back to forum]
[new message]
[all forums]
please help NoClassDefFoundError
/
filip.krystl@atlas.cz
/ 24.10.06 04:47
Re: please help NoClassDefFoundError
/
degor aka Installation Guru
/ 24.10.06 12:50
Messages in thread:
2
[reply]
[back to forum]
[new message]
[all forums]
© 1998-2007
ParallelGraphics
. All rights reserved.
Terms of use
.