private Component buildOpenObjectsTable() {

		openObjectsTable = new GFilterTable<>(new OpenObjectsTableModel());
		GTable table = openObjectsTable.getTable();
		table.getSelectionModel()
				.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
		openObjectsTable.addSelectionListener(e -> {
			setOkEnabled(true);
			okButton.setToolTipText("Use the selected " + domainObjectClass.getSimpleName());
		});

		table.addMouseListener(new GMouseListenerAdapter() {
			@Override
			public void doubleClickTriggered(MouseEvent e) {
				if (okButton.isEnabled()) {
					okCallback();
				}
			}
		});

		return openObjectsTable;
	}
Return the selected version number from the history panel.
@return -1 if a version history was not selected
Ghidra/Features/Base/src/main/java/ghidra/framework/main/OpenVersionedFileDialog.java