private void displayCalendar(){
  ListItem listItem=fieldResource.getSelectedItem();
  if (listItem == null)   return;
  KeyNamePair pp=new KeyNamePair((Integer)listItem.getValue(),listItem.getLabel());
  int S_Resource_ID=pp.getKey();
  m_mAssignment.setS_Resource_ID(S_Resource_ID);
  Date date=fieldDate.getValue();
  if (date == null)   date=new Timestamp(System.currentTimeMillis());
  m_loading=true;
  schedulePane.recreate(S_Resource_ID,date);
  m_loading=false;
  invalidate();
}

private void displayCalendar ( ) { ListItem listItem = fieldResource . getSelectedItem ( ) ; if ( listItem == null ) return ; KeyNamePair pp = new KeyNamePair ( ( Integer ) listItem . getValue ( ) , listItem . getLabel ( ) ) ; int S_Resource_ID = pp . getKey ( ) ; m_mAssignment . setS_Resource_ID ( S_Resource_ID ) ; Date date = fieldDate . getValue ( ) ; if ( date == null ) date = new Timestamp ( System . currentTimeMillis ( ) ) ; m_loading = true ; schedulePane . recreate ( S_Resource_ID , date ) ; m_loading = false ; invalidate ( ) ; }
display calendar for selected resource , time ( day / week / month ) and date
