some code samples, various examples of simple modeling ideas and some minor algorithms.

12345678910111213141516
  1. class Calendar1 extends Calendar
  2. {
  3. CalendarGraphic picture;
  4. public Calendar1(int d,int m,int y) throws DateException
  5. {
  6. super(d,m,y);
  7. picture = new CalendarGraphic(d,m,y);
  8. }
  9. public void display()
  10. {
  11. picture.display(day,month,year);
  12. }
  13. }