protected JPanel createWorkPanel() {

		JPanel contentPanel = new JPanel();
		contentPanel.setMinimumSize(new Dimension(500, 300));

		// Create the input text widget and give it a scrollbar.
		inputBytesTA = new HintTextArea(HINT_TEXT);
		JScrollPane scrollPane = new JScrollPane(inputBytesTA);
		inputBytesTA.addKeyListener(this);

		selectionModeWidget = new SelectionModeWidget("Input Mode", this);
		endianFlipWidget = new EndianFlipWidget("Endianness", this);
		msgPanel = new MessagePanel();

		JPanel southPanel = new JPanel();
		southPanel.setLayout(new BorderLayout());
		southPanel.add(selectionModeWidget, BorderLayout.WEST);
		southPanel.add(endianFlipWidget, BorderLayout.CENTER);
		southPanel.add(msgPanel, BorderLayout.SOUTH);

		// Use a border layout so we can put the text area in the CENTER location and have it
		// grow automatically as the panel is resized.
		contentPanel.setLayout(new BorderLayout());
		contentPanel.add(scrollPane, BorderLayout.CENTER);
		contentPanel.add(southPanel, BorderLayout.SOUTH);

		return contentPanel;
	}
Creates the visual components for this dialog.

@return the new panel
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/InsertBytesWidget.java