private JPanel create(Program program) {
		JPanel panelOne = new JPanel(new PairLayout(5, 10, 150));
		panelOne.setBorder(BorderFactory.createTitledBorder("Block to Split"));
		blockOneNameField = new JTextField(10);
		blockOneNameField.setName("BlockOneName");
		blockOneNameField.getAccessibleContext().setAccessibleName("Name of Block To Split");
		blockOneStartField = new JTextField(10);
		blockOneStartField.setName("BlockOneStart");
		blockOneStartField.getAccessibleContext().setAccessibleName("Address of Block To Split");

		blockOneEnd = new AddressInput(program, this::blockOneEndChanged);
		blockOneEnd.setName("BlockOneEnd");
		blockOneEnd.setAccessibleName("New Block End Adddress");

		blockOneLengthField = new RegisterField(32, null, false);
		blockOneLengthField.setName("BlockOneLength");
		blockOneLengthField.getAccessibleContext().setAccessibleName("New Block Length");

		panelOne.add(new GLabel("Block Name:", SwingConstants.RIGHT));
		panelOne.add(blockOneNameField);
		panelOne.add(new GLabel("Start Address:", SwingConstants.RIGHT));
		panelOne.add(blockOneStartField);
		panelOne.add(new GLabel("End Address:", SwingConstants.RIGHT));
		panelOne.add(blockOneEnd);
		panelOne.add(new GLabel("Block Length:", SwingConstants.RIGHT));
		panelOne.add(blockOneLengthField);

		JPanel panelTwo = new JPanel(new PairLayout(5, 5, 150));
		panelTwo.setBorder(BorderFactory.createTitledBorder("New Block"));
		blockTwoNameField = new JTextField(10);
		blockTwoNameField.setName("BlockTwoName");
		blockTwoNameField.getAccessibleContext().setAccessibleName("Name of New Block");
		blockTwoStart = new AddressInput(program, this::blockTwoStartChanged);
		blockTwoStart.setName("BlockTwoStart");
		blockTwoStart.setAccessibleName("New Block Start Address");
		blockTwoEndField = new JTextField(10);
		blockTwoEndField.setName("BlockTwoEnd");

		blockTwoLengthField = new RegisterField(32, null, false);
		blockTwoLengthField.setName("BlockTwoLength");
		blockTwoLengthField.getAccessibleContext().setAccessibleName("New Block Size");

		panelTwo.add(new GLabel("Block Name:", SwingConstants.RIGHT));
		panelTwo.add(blockTwoNameField);
		panelTwo.add(new GLabel("Start Address:", SwingConstants.RIGHT));
		panelTwo.add(blockTwoStart);
		panelTwo.add(new GLabel("End Address:", SwingConstants.RIGHT));
		panelTwo.add(blockTwoEndField);
		panelTwo.add(new GLabel("Block Length:", SwingConstants.RIGHT));
		panelTwo.add(blockTwoLengthField);

		JPanel mainPanel = new JPanel();
		mainPanel.setBorder(BorderFactory.createEmptyBorder(15, 20, 15, 20));
		BoxLayout bl = new BoxLayout(mainPanel, BoxLayout.Y_AXIS);
		mainPanel.setLayout(bl);
		mainPanel.add(panelOne);
		mainPanel.add(Box.createVerticalStrut(20));
		mainPanel.add(panelTwo);

		return mainPanel;
	}
Create the work panel.
@return JPanel
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/memory/SplitBlockDialog.java