@Override
	public void actionPerformed(ActionEvent e) {
		Object source = e.getSource();
		if(source == mntmSettings){
		ConnectionPopup popup = new ConnectionPopup(this, dbData);
		popup.setVisible(true);
		}
		else if(source == mntmImport){
			new OpenPopup(this);
			//CSVTools.importCSV(model, cModel, iModel);
		}else if(source == mntmSave){
			System.out.println("saving tables");
			CSVTools.saveCSV(table.getTable(), cTable.getTable(), iTable.getTable());
		}
		else if(source == mntmExport){
			System.out.println("Exporting tables");
			CSVTools.exportCSV(table.getTable());
		}
		else if(source == mntmExit)
		System.exit(0);	
		
	}