Hi,
I’m in the process of converting my games from applets to applications, and I’ve become stuck. I feel like a newbie all over again! :o)
OK, so I have an app, with of course a main() entry point. main has to be declared static to be seen, but that causes me all sorts of problems with what I can do inside main()…
Here’s a code snippet:
public static void main(String args[])
{
gInnards = new Innards( this );
. . . .
}
The problem is, I’m not allowed to pass ‘this’ - or anything runtime generated - within main().
So, what’s the cleanest way of letting the Innards class find out the reference to the calling class…?
Thanks :-[


