I\'m making a GUI application with Swing and I want to restrict the user from resizing the Frame beyond 400x200. Is there any way of doing this?