if (chooserDialog.getJCheckBoxAbsoluteDBD().isSelected()) {
if (chooser.getJCheckBoxAbsoluteDBD().isSelected()) {
public void addDBDButton_ActionPerformed(java.awt.event.ActionEvent actionEvent) {	ComboBoxFileChooser chooserDialog = ((VisualDCT)getParent()).getComboBoxFileChooser();	//JFileChooser chooser = ((VisualDCT)getParent()).getfileChooser();	JFileChooser chooser = chooserDialog.getJFileChooser();	UniversalFileFilter filter = new UniversalFileFilter(		new String("dbd"), "DBD File");	chooser.resetChoosableFileFilters();	chooser.addChoosableFileFilter(filter);	chooser.setDialogTitle("Import DBD");	chooser.setFileSelectionMode(JFileChooser.FILES_ONLY);	chooser.setDialogType(JFileChooser.OPEN_DIALOG);	int retval = chooserDialog.showDialog(); //showOpenDialog(this);	if(retval != JFileChooser.CANCEL_OPTION) {	    java.io.File theFile = chooser.getSelectedFile();	    if(theFile != null) {	    	if (chooserDialog.getJCheckBoxAbsoluteDBD().isSelected()) {	    		theFile = theFile.getAbsoluteFile(); 				    	} else {	    		if (VisualDCT.getInstance().getOpenedFile()==null)					theFile = PathSpecification.getRelativeName(theFile, new File(Settings.getDefaultDir()));				else					theFile = PathSpecification.getRelativeName(theFile, VisualDCT.getInstance().getOpenedFile());	    	}	    						    GetGUIInterface cmd = (GetGUIInterface)CommandManager.getInstance().getCommand("GetGUIMenuInterface");		    try {		    			    	DBDEntry entry = new DBDEntry(theFile.getPath());		    			    	Vector dbds = DataProvider.getInstance().getCurrentDBDs();				//	replace				if (dbds.contains(entry)) dbds.remove(entry);				dbds.addElement(entry);								getScrollPaneTable().tableChanged(new TableModelEvent(getScrollPaneTable().getModel()));					  		 	cmd.getGUIMenuInterface().importDBD(entry.getFile());		    } catch (java.io.IOException e) {			    Console.getInstance().println();			    Console.getInstance().println("o) Failed to import DBD file: '"+theFile.getAbsolutePath()+"'.");			    Console.getInstance().println(e);		    }		}	}}