setBusy(true);
(new Thread(new Runnable(){
public void run(){
IOntology ont = (IOntology) value;
try{
ont.load();
ont.write(new FileOutputStream(f),IOntology.OWL_FORMAT);
JOptionPane.showMessageDialog(frame,ont.getName()+" saved as "+f.getAbsolutePath());
}catch(Exception ex){
ex.printStackTrace();
JOptionPane.showMessageDialog(frame,ex.getMessage(),"Error",JOptionPane.ERROR_MESSAGE);