void () { JPanel waitPanel = new JPanel(new BorderLayout()); JLabel label = new JLabel(ApplicationBundle.message("label.loading.page.please.wait")); label.setHorizontalAlignment(SwingConstants.CENTER); waitPanel.add(label, BorderLayout.CENTER); label.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); waitPanel.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); mySettingsPanel.add(WAIT_CARD, waitPanel); }