+ /**
+ * Creates a new busy panel.
+ */
+ public BusyPanel() {
+ super(new BorderLayout(12, 12));
+ initComponents();
+ }
+
+ //
+ // PRIVATE METHODS
+ //
+
+ /**
+ * Initializes all components of this panel.
+ */
+ private void initComponents() {
+ final JLabel label = new JLabel(I18n.getMessage("")); /* TODO */
+ JProgressBar progressBar = new JProgressBar();
+ progressBar.setIndeterminate(true);
+
+ add(label, BorderLayout.PAGE_START);
+ add(progressBar, BorderLayout.PAGE_END);
+
+ I18nContainer.getInstance().registerRunnable(new Runnable() {
+
+ /**
+ * {@inheritDoc}
+ */
+ public void run() {
+ label.setText(I18n.getMessage("")); /* TODO */
+ }
+ });
+ }