private JScrollPane buildDirectoryList() {
		directoryListModel = new DirectoryListModel();
		directoryList = new DirectoryList(this, directoryListModel);
		directoryList.setName("LIST");
		directoryList.getAccessibleContext().setAccessibleName("Directory");
		directoryList.setBackground(BACKGROUND_COLOR);

		directoryList.addFocusListener(new FocusAdapter() {
			@Override
			public void focusGained(FocusEvent e) {
				lastInputFocus = directoryList;
			}
		});

		directoryScroll = new JScrollPane(directoryList);
		directoryScroll.getViewport().setBackground(BACKGROUND_COLOR);
		directoryScroll.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
		directoryScroll.addComponentListener(new ComponentAdapter() {
			//if the scroll pane is resized, we need to adjust
			//the visible row count
			@Override
			public void componentResized(ComponentEvent e) {
				Dimension size = directoryScroll.getSize();
				int cellHeight = directoryList.getFixedCellHeight();
				int nRows = size.height / cellHeight;
				directoryList.setVisibleRowCount(nRows - 1);
			}
		});
		directoryScroll.getAccessibleContext().setAccessibleName("Directory");
		return directoryScroll;
	}
When <b>true</b> is passed the chooser will use a detailed table view to show the files;
false will show a simplified list of files.
@param showDetails true to show details
Ghidra/Framework/Docking/src/main/java/docking/widgets/filechooser/GhidraFileChooser.java