Have you looked at what layout manager is being used? If you don't explicitly set the layout manager, the JFrame class will use the BorderLayout manager which requires that you pass some details on...