statusTextField.setEditable(false);
scrollPane = new JScrollPane();
editorPane = new EditorPane(scrollPane.getViewport());
editorPane.addCaretListener(new CaretListener() {
public void caretUpdate(CaretEvent e) {
updateStatus(getRow(e.getDot(), editorPane), getColumn(e.getDot(), editorPane));
}
});