code: public void setTime(Date time)
      {
          String timeString = "";
          if (time != null)
      		timeString = timeFormat.format(time);
          jTextField3.setText(timeString);
          jTimeButton1.setTargetDate(time);
      }
docs: Validate and set the datetime field on the screen given a date.
  @param dateTime The datetime object