Tony Docherty wrote: I may be wrong (It's a long time since I've done anything with applets because, as Paul has already said, they are a dead technology) but I think your "code=XMeansClient.class" should include the package name ie code=client.XMeansClient.class >
Paul Clapham wrote:Well, frankly I would suggest you stop messing about with applets and just write a plain old Java application to do your client-server project. Using applets just gets you bogged down in configuration issues -- like this one, but there will be more. The only reason to use an applet, really, is that your instructors are requiring you to do that. And even if they are that's a questionable requirement, because nobody uses applets any more unless there's a really really good reason to fight through all of the setup required.
Tony Docherty wrote:You are missing a '>' from your applet tag or is that a typo in your post?
What package is the XMeansClient class in?
Les Morgan wrote:You know it is a lot easier to help people that actually tell what it is that they need. Before anyone attempts to help you any further, please detail what you have done and the whole error message that is given.
Joseph Tagarelli wrote:I created a .jar with .class files and a directory for images that applet load..but when i open it in browser i have a "NoClassDefFoundError"
Les Morgan wrote:Enable Java in your browser.
Encapsulate the applet in an HTML file.
Double click on the HTML file and select open in browser or you can do a <file><open> with your browser.
Here is a link on a howto, it's kind of old, so you needn't go through the whole reboot process and dos mode.