@Override
	public JComponent getComponent() {
		if (comp == null) {
			comp = new DbViewerComponent(tool);
			if (dbh != null) {
				comp.openDatabase(dbName, dbh);
			}
		}
		return comp;
	}
Opens the database for viewing its table data.
@param databaseName the name of the database.
@param handle the DBHandle for the open database
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/debug/DbViewerProvider.java