private void testEmail(){
  final ProgressWindow progressWindow=new ProgressWindow(MainFrame.getInstance(),"Sending test email...");
  progressWindow.setVisible(true);
  final Runnable runnable=null;
  final Thread t=new Thread(runnable);
  t.start();
}

private void testEmail ( ) { final ProgressWindow progressWindow = new ProgressWindow ( MainFrame . getInstance ( ) , "Sending test email..." ) ; progressWindow . setVisible ( true ) ; final Runnable runnable = null ; final Thread t = new Thread ( runnable ) ; t . start ( ) ; }
tests the email sender . this must be called from the swing event thread
