Chrissirhc
Programmer
When I made a program I had a really small main class.
Look at it below: (I've changed the names so that you can see what they are)
private class MyMainClassWhichIsRunToRunTheProgram
{
private static MainFrame myMainProgramWindow;
public static void main(String args[])
{
myMainProgramWindow = new MainFrame("The title"
;
}
}
Is this the normal way to start a program. I have to make myMainProgramWindow static so that I can reference it within main???.
What other way could I do it?
Cheers
Chris
Look at it below: (I've changed the names so that you can see what they are)
private class MyMainClassWhichIsRunToRunTheProgram
{
private static MainFrame myMainProgramWindow;
public static void main(String args[])
{
myMainProgramWindow = new MainFrame("The title"
}
}
Is this the normal way to start a program. I have to make myMainProgramWindow static so that I can reference it within main???.
What other way could I do it?
Cheers
Chris