protected boolean traverseOut(boolean direction){
  return false;
}

protected boolean traverseOut ( boolean direction ) { return false ; }
this method is called from dispatchkeyevent in the following two cases : 1 . the focus is on the first component of this embeddedframe and we are about to transfer the focus backward . 2 . the focus in on the last component of this embeddedframe and we are about to transfer the focus forward . this is needed to give the opportuity for keyboard focus to leave the embeddedframe . override this method , initiate focus transfer in it and return true if you want the focus to leave embeddedframe ' s cycle . the direction parameter specifies which of the two mentioned cases is happening . use forward and backward constants defined in embeddedframe to avoid confusing boolean values .
