public void showDialog() {
   statusBar.setText(" ");
   setVisible(true);
   try {
     // Bring to front of other dialogs
     setSelected(true);
   } catch (PropertyVetoException e) {
     // ignore
   }
 }
 void browse(String urlStr) {
   try {
     Desktop.getDesktop().browse(new URI(urlStr));
   } catch (Exception ex) {
     showDialog();
     statusBar.setText(ex.getLocalizedMessage());
     if (JConsole.isDebug()) {
       ex.printStackTrace();
     }
   }
 }