/** @see junit.framework.TestCase#tearDown() */
  protected void tearDown() throws Exception {
    // Only dispose if the dialog hasn't already been dismissed by the
    // test case.
    if (JDialogOperator.findJDialog("Select font", true, false) != null) {
      JDialogOperator dialog = new JDialogOperator("Select font");
      JDialog dialogSource = (JDialog) dialog.getSource();
      dialogSource.setVisible(false);
      dialogSource.dispose();
    }

    // new QueueTool().waitEmpty(10000);
    // dialog.waitClosed();
    // QueueTool.uninstallQueue();

    super.tearDown();
  }
 /** Tests the JFontChooserDialog. */
 public void testOKButton() {
   logger_.info("Running testOKButton...");
   okButton_.clickMouse();
   assertTrue(!dialog_.getSource().isVisible());
 }