private void buildMainPanel() {

		JPanel panel = new JPanel(new PairLayout(5, 5, 120));
		textField = new MyHintTextField(HINT_TEXT);
		textField.setText(initialValue);
		textField.addKeyListener(keyListener);
		textField.setName("number.range.input.dialog.text.field");
		textField.getAccessibleContext().setAccessibleName("Number Range Input");
		panel.add(new GLabel(inputLabel, SwingConstants.RIGHT));
		panel.add(textField);

		panel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
		panel.getAccessibleContext().setAccessibleName("Number Range Input");
		this.addWorkPanel(panel);
	}
An input dialog that accepts number input as discrete values or a range of values using 
':' as the range separator.
Ghidra/Framework/Docking/src/main/java/docking/widgets/dialogs/NumberRangeInputDialog.java