private JPanel buildWorkPanel(DefaultListModel<GhidraScriptProvider> listModel) {
		listPanel = new ListPanel<>();
		listPanel.setListModel(listModel);
		listPanel.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
		listPanel.setSelectedIndex(0);
		listPanel.setDoubleClickActionListener(e -> close());
		JPanel workPanel = new JPanel(new BorderLayout());
		MultiLineLabel mll = new MultiLineLabel("\nPlease select a script type:");
		workPanel.add(mll, BorderLayout.NORTH);
		workPanel.add(listPanel, BorderLayout.CENTER);
		return workPanel;
	}
For testing...

@param provider the provider selection
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/script/PickProviderDialog.java