Container content = getContentPane();
JPanel content = new JPanel(new BorderLayout()); content.setBorder(new EmptyBorder(12,12,12,0)); setContentPane(content);
	public MacroInputDialog(View view)	{		super(view,jEdit.getProperty("macro-input.title"),true);		this.view = view;		Container content = getContentPane();		content.add(BorderLayout.NORTH,new JLabel(jEdit.getProperty(			"macro-input.caption")));		JPanel panel = new JPanel(new GridLayout(2,2));		panel.add(new JLabel(jEdit.getProperty("macro-input.prompt"),			SwingConstants.RIGHT));		promptField = new JTextField();		panel.add(promptField);		panel.add(new JLabel(jEdit.getProperty("macro-input.register"),			SwingConstants.RIGHT));		registerField = new JTextField("$");		panel.add(registerField);		content.add(BorderLayout.CENTER,panel);		panel = new JPanel();		ok = new JButton(jEdit.getProperty("common.ok"));		ok.addActionListener(this);		getRootPane().setDefaultButton(ok);		panel.add(ok);		cancel = new JButton(jEdit.getProperty("common.cancel"));		cancel.addActionListener(this);		panel.add(cancel);		content.add(panel, BorderLayout.SOUTH);		GUIUtilities.requestFocus(this,promptField);		pack();		setLocationRelativeTo(view);		show();	}