protected JPanel createWorkPanel() throws InvalidInputException {

		// Create the main panel; use a border layout so all components
		// will adjust to fill the given space, allocating all leftover
		// space to the central tables.
		JPanel mainPanel = new JPanel();
		mainPanel.setLayout(new BorderLayout());

		// Create the table panel, which contains both the instruction and
		// preview tables.
		tablePanel = new InstructionSearchMainPanel(plugin, this);
		mainPanel.add(tablePanel, BorderLayout.CENTER);

		JPanel lowerPanel = new JPanel();
		lowerPanel.setLayout(new BoxLayout(lowerPanel, BoxLayout.Y_AXIS));

		// Create the control panel, which contains the options for
		// searching the whole program or the current selection.
		if (controlPanel == null) {
			controlPanel = new ControlPanel(plugin, this);
		}
		controlPanel.getAccessibleContext().setAccessibleName("Control");
		messagePanel.getAccessibleContext().setAccessibleName("Message");
		lowerPanel.add(controlPanel);
		lowerPanel.add(messagePanel);
		lowerPanel.getAccessibleContext().setAccessibleName("Control and Message");
		mainPanel.add(lowerPanel, BorderLayout.SOUTH);
		mainPanel.getAccessibleContext().setAccessibleName("Instruction Search");
		return mainPanel;
	}
Creates the main panel.

@return the new panel
@throws InvalidInputException if there's a problem constructing the panel
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/InstructionSearchDialog.java