fix full screen for JFrame