private boolean updateSourceAction(int state){
  int action=SunDragSourceContextPeer.convertModifiersToDropAction(XWindow.getModifiers(state,0,0),sourceActions);
  if (sourceAction == action) {
    return false;
  }
  sourceAction=action;
  return true;
}

private boolean updateSourceAction ( int state ) { int action = SunDragSourceContextPeer . convertModifiersToDropAction ( XWindow . getModifiers ( state , 0 , 0 ) , sourceActions ) ; if ( sourceAction == action ) { return false ; } sourceAction = action ; return true ; }
updates the source action according to the specified state .
