Exemplo n.º 1
0
 /**
  * Handles the focusLost event by invoking the focusLost methods on listener-a and listener-b.
  *
  * @param e the focus event
  */
 public void focusLost(FocusEvent e) {
   ((FocusListener) a).focusLost(e);
   ((FocusListener) b).focusLost(e);
 }
Exemplo n.º 2
0
 /**
  * Handles the focusGained event by invoking the focusGained methods on listener-a and listener-b.
  *
  * @param e the focus event
  */
 public void focusGained(FocusEvent e) {
   ((FocusListener) a).focusGained(e);
   ((FocusListener) b).focusGained(e);
 }