public void setCurrentPageNumberTextField(JTextField textField) {
        currentPageNumberTextField = textField;
        currentPageNumberTextField.addActionListener(this);
        currentPageNumberTextField.addFocusListener(this);
        currentPageNumberTextField.addKeyListener(this);
    }