contentTextArea.setFont(view.getTextArea().getPainter().getFont());
	public ViewRegisters(View view)	{		super(view,jEdit.getProperty("view-registers.title"),true);		JPanel content = new JPanel(new BorderLayout());		content.setBorder(new EmptyBorder(12,12,12,12));		setContentPane(content);		JPanel panel = new JPanel(new BorderLayout());		panel.setBorder(new EmptyBorder(0,12,0,0));		JLabel label = new JLabel(jEdit.getProperty("view-registers.registers"));		label.setBorder(new EmptyBorder(0,0,3,0));		panel.add(BorderLayout.NORTH,label);		DefaultListModel registerModel = new DefaultListModel();		registerList = new JList(registerModel);		registerList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);		registerList.setCellRenderer(new Renderer());		Registers.Register[] registers = Registers.getRegisters();		int index = 0;		for(int i = 0; i < registers.length; i++)		{			Registers.Register reg = registers[i];			if(reg == null)				continue;			String value = reg.toString();			if(value == null || value.length() == 0)				continue;			registerModel.addElement(new Character((char)i));		}		if(registerModel.getSize() == 0)			registerModel.addElement(jEdit.getProperty("view-registers.none"));		panel.add(BorderLayout.CENTER,new JScrollPane(registerList));		content.add(BorderLayout.WEST,panel);		panel = new JPanel(new BorderLayout());		panel.setBorder(new EmptyBorder(0,12,0,0));		label = new JLabel(jEdit.getProperty("view-registers.contents"));		label.setBorder(new EmptyBorder(0,0,3,0));		panel.add(BorderLayout.NORTH,label);		contentTextArea = new JTextArea(10,80);		contentTextArea.setFont(view.getTextArea().getPainter().getFont());		contentTextArea.setEditable(false);		panel.add(BorderLayout.CENTER,new JScrollPane(contentTextArea));		content.add(BorderLayout.CENTER,panel);		panel = new JPanel();		panel.setLayout(new BoxLayout(panel,BoxLayout.X_AXIS));		panel.setBorder(new EmptyBorder(12,0,0,0));		close = new JButton(jEdit.getProperty("common.close"));		close.addActionListener(new ActionHandler());		panel.add(Box.createGlue());		panel.add(close);		panel.add(Box.createGlue());		getRootPane().setDefaultButton(close);		content.add(BorderLayout.SOUTH,panel);		registerList.addListSelectionListener(new ListHandler());		registerList.setSelectedIndex(index);		pack();		setLocationRelativeTo(view);		show();	}