Hello again
I may be doing something stupid but here is my problem
when I create frames I normally use two classes
the main class which creates the frame and calls all componenets
I am trying to do this all in one file but with no luck
the code I am using is
import java.awt.*;
public class myclass
{
public myclass()
{
// all the gui components
}
public static void main(String[] args)
{
Frame frame = new myclass();
frame.show;
}
}
But I get the error Incompatable type for declaration cant convert myclass to java.awt.Frame
Please help
Gary