public ImageBrowser(ImageBrowserGui imageBrowserGui) {

		log.trace("Start application ImageBrowser");

		this.imageBrowserGui = imageBrowserGui;

		props = new MyProperties(this, propertiesFile, false);
		projectName = props.getProp("last_project");

		// sqlInterface = new HsqldbImpl(projectFolder, projectName);
		sqlInterface = new SqliteImpl(projectName);

		try {
			sqlInterface.connect();

			if (!sqlInterface.checkTablesExist()) {
				sqlInterface.clearTables();
				sqlInterface.createTables();
			}

		} catch (ClassNotFoundException | SQLException e) {
			log.error(e.getMessage(), e);
			return;
		}

		sqlInterface.checkTablesExist();

		selectBuilder = new SqlSelectBuilder(sqlInterface.getConnection());

	}