addUndoPoint();
try { addUndoPoint(); } catch (Exception ignored) {}
  public void setInstancesFromDBQ() {    if (m_IOThread == null) {      try {	InstanceQuery InstQ = 	  (InstanceQuery)m_DatabaseQueryEditor.getValue();		InstQ.connectToDatabase();      	addUndoPoint();	setInstancesFromDB(InstQ);      } catch (Exception ex) {	JOptionPane.showMessageDialog(this,				      "Problem connecting to database:\n"				      + ex.getMessage(),				      "Load Instances",				      JOptionPane.ERROR_MESSAGE);      }          } else {      JOptionPane.showMessageDialog(this,				     "Can't load at this time,\n"				    + "currently busy with other IO",				    "Load Instances",				    JOptionPane.WARNING_MESSAGE);    }  }