Hello all,

I'm stuck on a project. Its Java based, to do GUI's.

I've written some code which details size, colour, labels and buttons, (but i have not yet assigned tasks to each button)

...

import java.awt.*;

class FirstFrame extends Frame
{



FirstFrame()

{
super("Test Frame GUI");

buildGUI();


setSize(200,60);
setVisible(true);

}



private void buildGUI()
{

Panel top = new Panel();
top.setLayout(new BorderLayout());
top.add(new Label("Load File: "),
BorderLayout.WEST);
top.add(new TextField(),
BorderLayout.CENTER);
top.add(new Button("Load"),
BorderLayout.EAST);

add(top, BorderLayout.NORTH);

add(new TextArea(20,50),
BorderLayout.CENTER);


Panel right = new Panel();
right.setLayout(new GridLayout(3,1));
}
}
First problem is, i'm getting the error message,

"Exception in thread "main" java.lang.NoClassDefFoundError: TestFrame"
Can anyone let me know what thats about?

The end result will be that i'll need to set it up to return a Truth Table for a user inputted mathematical equation! If anyone can help out with that as well that be great!

WannaJava