border = new CompoundBorder(border,new EmptyBorder(2,2,2,2));
border = new CompoundBorder(border,new EmptyBorder(2,1,2,1));
	public StatusBar(View view)	{		super(new BorderLayout());		this.view = view;		Border border = new CompoundBorder(new EmptyBorder(2,2,2,2),			new LineBorder(UIManager.getColor("Label.foreground")));		border = new CompoundBorder(border,new EmptyBorder(2,2,2,2));		Font font = new Font("Dialog",Font.BOLD,10);		caret = new CaretStatus();		caret.setBorder(border);		caret.setFont(font);		add(BorderLayout.WEST,caret);		statusMessage = new JLabel();		statusMessage.setBorder(border);		statusMessage.setFont(font);		Dimension dim = statusMessage.getPreferredSize();		dim.width = 0;		statusMessage.setPreferredSize(dim);		add(BorderLayout.CENTER,statusMessage);		bufferStatus = new JLabel();		bufferStatus.setBorder(border);		bufferStatus.setFont(font);		add(BorderLayout.EAST,bufferStatus);		updateBufferStatus();	}