HTML Converter error...

Java applet works fine. Need to use it for web page, but when use html converter to place it on a web page, it does not run.

i get this error..

General Exception

java.lang.NoClassDefFoundError: Calculator$Button

button is a class inside Calculator class I made. it uses JFrame (javax.swing). below is how the code is;

public class ButtonHandler implements ActionListener

{public void actionPerforme(ActionEvent e)

{

}

}

is there some kind of function prototype you gota do? if so, how do i do it for the above ButtonHandler class?

thanks for the help.

[642 byte] By [Burned] at [2007-9-26 1:27:22]
# 1

Hi Burned,

When you running as an applet, you will be using the appletviewer command , so that might be your HTML file and Calculator$Button class will be existing in the same directory. But when you trying to load it in the webpage, I hope that you did not put the corresponding class files in the specified directory, or please check your codebase what you have specified in the HTML after the conversion has been done.

I hope there is no problem with the HTML Convertor.

I hope this will help you.

Thanks

Bakrudeen

bakrudeen_indts at 2007-6-29 1:11:32 > top of Java-index,Archived Forums,Java Programming...