private void jCheckBox1KeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jCheckBox1KeyPressed
    if (evt.getKeyCode() == 37) {
        jTextField2.grabFocus();
    } else if (evt.getKeyCode() == 40) {
        jTextField3.grabFocus();
    } else if (evt.getKeyCode() == 10) {
        if (jCheckBox1.isSelected() == true) {
            jCheckBox1.setSelected(true);
        } else if (jCheckBox1.isSelected()) {
            jCheckBox1.setSelected(false);
        }
    }
}//GEN-LAST:event_jCheckBox1KeyPressed