I took on the advice to use a JFrame for my first screen, and a JDialog for al the other screens. I use a strategy
pattern to separate the looks from the behaviour. In the constructor of my behaviour class I instatiate the class for the looks:
Where TafelView is my new screen (JDialog)
Unfortunately, these lines won't run, because it stops on the line that makes the JDialog:
How can I do it so that these lines will run?