Problem fixed by moving "setResizable(false)" before "pack()" and
"setVisible(true)". I have no idea what witchcraft this is, but it makes
me despise Java more and more every time it happens.