JPanel panel = new JPanel(); panel.setLayout(new GridLayout(2,2)); panel.add(new JLabel(jEdit.getProperty("selectlinerange.start"), SwingConstants.RIGHT)); panel.add(start = new JTextField());
JPanel panel = createFieldPanel();
	public SelectLineRange(View view)	{		super(view,jEdit.getProperty("selectlinerange.title"),true);		buffer = view.getBuffer();		getContentPane().add(BorderLayout.NORTH,new JLabel(			jEdit.getProperty("selectlinerange.caption")));		JPanel panel = new JPanel();		panel.setLayout(new GridLayout(2,2));				panel.add(new JLabel(jEdit.getProperty("selectlinerange.start"),			SwingConstants.RIGHT));		panel.add(start = new JTextField());		panel.add(new JLabel(jEdit.getProperty("selectlinerange.end"),			SwingConstants.RIGHT));		panel.add(end = new JTextField());		getContentPane().add(BorderLayout.CENTER,panel);		panel = new JPanel();		panel.add(ok = new JButton(jEdit.getProperty("common.ok")));		ok.addActionListener(this);		panel.add(cancel = new JButton(jEdit.getProperty(			"common.cancel")));		cancel.addActionListener(this);		getContentPane().add(BorderLayout.SOUTH,panel);		getRootPane().setDefaultButton(ok);		GUIUtilities.requestFocus(this,start);		pack();		setLocationRelativeTo(view);		show();	}