Пример #1
0
 @Override
 public WaitMessageDialog getWaitMessageDialog(String s) {
   WaitMessageDialog dialog = new WaitMessageDialog(getMainFrame(), true);
   dialog.setText(s);
   dialog.centreDialog();
   return dialog;
 }
Пример #2
0
 public WaitMessageDialog getWaitMessageDialog(JFrame parent, String s) {
   WaitMessageDialog dialog = new WaitMessageDialog(parent, true);
   dialog.setText(s);
   dialog.centreDialog();
   return dialog;
 }