+ System.out.println("checkForUpdates()");
+ /* construct a small panel for the dialog. */
+ JPanel waitingDialogPanel = new JPanel(new BorderLayout(12, 12));
+ waitingDialogPanel.add(new JLabel(I18n.getMessage("")), BorderLayout.PAGE_START);
+ JProgressBar progressBar = new JProgressBar();
+ progressBar.setIndeterminate(true);
+ waitingDialogPanel.add(progressBar, BorderLayout.PAGE_END);
+ JOptionPane waitingDialog = new JOptionPane(waitingDialogPanel, JOptionPane.INFORMATION_MESSAGE, 0, null, new Object[] { "Cancel" });
+ JDialog dialog = new JDialog(wizard, true);
+ dialog.getContentPane().add(waitingDialog, BorderLayout.CENTER);
+ dialog.pack();
+ dialog.setVisible(true);