Hi everybody,
Seven years ago, I got some Java course at the university. Now, with some free time, I'm trying to pick things up again and I'm programming a (little) game. Somebody wrote a nice tutorial about it, and I'm trying to follow it. But I can't seem to get the hang of JFrame.
I would like to have a JFrame. I define different classes, each representing a different screen (a starting screen, a playing screen, losing- or winning screen). But, when my program runs, I just have an empty JFrame. None of the labels is showing.
All of the "screen"-type classes have the same structure, so I just show you my starting class ("applicationmain") and the "startingscreen" class.
ApplicationMain:
and the StartScreen class:
I would appreciate any help! Looking already two evenings at these classes and can't seem to find my problem.