JComponent () { JPanel panel = createIconPanel(); JPanel messagePanel = createMessagePanel(); messagePanel.add(createCheckComponent(), BorderLayout.SOUTH); panel.add(messagePanel, BorderLayout.CENTER); return panel; }