Again, I'm not sure why you're extending JFrame at all. That's making things more confusing than they have to be.
Because all you need to do is create an instance of your Screen class (which...
Type: Posts; User: KevinWorkman
Again, I'm not sure why you're extending JFrame at all. That's making things more confusing than they have to be.
Because all you need to do is create an instance of your Screen class (which...
Not only is that not the correct way to use a fullscreen JFrame, that doesn't answer the OP's actual question. Please read this before posting again:...
Why are either of those classes extending JFrame? They don't override any of the default behavior. Favor composition over inheritance, and I think it will make more sense what you have to do.