public void focusGained(FocusEvent e){
  if (focusLog.isLoggable(PlatformLogger.Level.FINE)) {
    focusLog.fine("{0}",e);
  }
  bHasFocus=true;
}

public void focusGained ( FocusEvent e ) { if ( focusLog . isLoggable ( PlatformLogger . Level . FINE ) ) { focusLog . fine ( "{0}" , e ) ; } bHasFocus = true ; }
called when component receives focus
