public void deleteDataBase(JList<String> log){
		ArrayList<String> alstLog = new ArrayList<>();

		try {
			alstLog.add("Loading driver...");
			log.setListData(alstLog.toArray(new String[0]));
			
			Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
			alstLog.add("Driver loaded");
			log.setListData(alstLog.toArray(new String[0]));
			alstLog.add("Deleting Tables...");
			log.setListData(alstLog.toArray(new String[0]));
			Connection connection = DriverManager.getConnection("jdbc:derby:" + DBName + ";");
			Statement statement = connection.createStatement();
			String readAllTablesSQL = "SELECT * FROM SYS.SYSTABLES WHERE TYBLETYPE = 'T'";
			ResultSet allTables = statement.executeQuery(readAllTablesSQL);
			ArrayList<String> tables = new ArrayList<>();
			while(allTables.next()){
				String tablename = allTables.getString("TABLENAME");
				tables.add(tablename);
			}
			for (String table : tables) {
				dropTable(statement, table);
				alstLog.add("Table \"" + table +  "\" deleted");
				log.setListData(alstLog.toArray(new String[0]));
			}
			statement.close();
			connection.close();
			
			alstLog.add("Shutting down data base...");
			log.setListData(alstLog.toArray(new String[0]));
			alstLog.add("Data base shut down");
			log.setListData(alstLog.toArray(new String[0]));
		} catch (Exception e) {
			new ServerResultFrame(e.getMessage());
		}
	}