I have a little game, where I use an absolute size of JPanel, to fit the levels inside, which are made from graphic-tiles from a fixed size.
The JPanel must have exact 1088 pixel width and 704 pixels hight, to make the levels fit exactly.
How do I resize the JFrame to fit exactly around the JPanel?