Accessing Swing components of another class
<p>I have two classes <code>gameWindow</code> and <code>gameEngine</code>. The Main method is in <code>gameWindow</code> class &amp; so is the swing GUI code. Now, I want to access the swing components in <code>gameEngine</code>. How to do that? I always get the <code>cannot find symbol</code> error when I try it normally. I've tried making the components public but with no luck. </p>

<p>Also, I tried creating a instance of <code>gameWindow</code> but it too, didn't help. It compiled without any error but I got a BIG runtime error(which I can't even see, the command prompt gets scrolled to it's limit).</p>

<p>RELP!!</p>

<p>P.S.: I don't think the posting the code here will help.</p>
