frame variable cannot be found

Posted by Umzz Mo on Stack Overflow See other posts from Stack Overflow or by Umzz Mo
Published on 2012-04-14T17:45:26Z Indexed on 2012/04/15 17:29 UTC
Read the original article Hit count: 163

Filed under:
|
|
|
|

I am making 3 board games, and I have started my coding off in one class. Now that i wanted to move around it is giving me problems. In my view class I just want to have the main frame where users can pick from the games. And in the other views, i.e the childrens of view class i want to have the interface for the actual games. Now that the Jframe frame = new frame was created in the parent class, it cannot find the variable frame in the children classes.

© Stack Overflow or respective owner

Related posts about java

Related posts about mvc