Beispiel #1
0
 /**
  * Attempts to start a multicone job. If insufficient or incorrect information is present in the
  * component state, a popup error message will be delivered instead.
  */
 private void startMatch() {
   MatchWorker worker;
   try {
     worker = createMatchWorker();
   } catch (RuntimeException e) {
     Object msg =
         new String[] {
           "Query not specified:", e.getMessage(),
         };
     JOptionPane.showMessageDialog(this, msg, "Incomplete Query", JOptionPane.ERROR_MESSAGE);
     return;
   }
   setActive(worker);
   worker.start();
 }