JFrame dont like to be 640 x 480
posted 3 years ago
I am creating a JFrame at runtime and this JFrame is running a little game I made in java. The problem is that the JFrame is never the exact size you would like him to stay. Where is missing about 30 and about 15 points below the right or the window ever gets smaller. Already tried everything with setSize, setPreferredSize, null layout etc but nothing works ... Any idea?