private void displayCalendar(){
  KeyNamePair pp=(KeyNamePair)fieldResource.getSelectedItem();
  if (pp == null)   return;
  int S_Resource_ID=pp.getKey();
  m_mAssignment.setS_Resource_ID(S_Resource_ID);
  Timestamp date=fieldDate.getTimestamp();
  int index=timePane.getSelectedIndex();
  log.config("Index=" + index + ", ID="+ S_Resource_ID+ " - "+ date);
  m_loading=true;
  if (index == 0)   daySchedule.recreate(S_Resource_ID,date);
 else   if (index == 1)   weekSchedule.recreate(S_Resource_ID,date);
 else   monthSchedule.recreate(S_Resource_ID,date);
  m_loading=false;
  repaint();
}

private void displayCalendar ( ) { KeyNamePair pp = ( KeyNamePair ) fieldResource . getSelectedItem ( ) ; if ( pp == null ) return ; int S_Resource_ID = pp . getKey ( ) ; m_mAssignment . setS_Resource_ID ( S_Resource_ID ) ; Timestamp date = fieldDate . getTimestamp ( ) ; int index = timePane . getSelectedIndex ( ) ; log . config ( "Index=" + index + ", ID=" + S_Resource_ID + " - " + date ) ; m_loading = true ; if ( index == 0 ) daySchedule . recreate ( S_Resource_ID , date ) ; else if ( index == 1 ) weekSchedule . recreate ( S_Resource_ID , date ) ; else monthSchedule . recreate ( S_Resource_ID , date ) ; m_loading = false ; repaint ( ) ; }
display calendar for selected resource , time ( day / week / month ) and date
