private void initializeListeners() {
    addMouseListener(listener);
    addMouseMotionListener(listener);
    addKeyListener(listener);
    addFocusListener(listener);

    caret.addCaretListener(listener);
  }
Initializes the listeners that handle keyboard and mouse input.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/JRegisterView/JRegisterView.java