One of the issues is IllegalArgumentException
at line
add(norra, "norra");
The layout of the frame's content pane is set to BorderLayout
, but this layout does not understand "norra"
constraint. See How to Use BorderLayout for more details and examples.
Also, you should call setVisible
once all the components are added and initialized.