1 // 2016 and later: Unicode, Inc. and others. 2 // License & terms of use: http://www.unicode.org/copyright.html#License 3 /* 4 ******************************************************************************* 5 * Copyright (C) 1997-2010, International Business Machines Corporation and * 6 * others. All Rights Reserved. * 7 ******************************************************************************* 8 */ 9 10 package com.ibm.icu.dev.demo.calendar; 11 12 import java.awt.Frame; 13 14 import com.ibm.icu.dev.demo.impl.DemoApplet; 15 16 /** 17 * CalendarApp demonstrates how Calendar works. 18 */ 19 public class CalendarApp extends DemoApplet 20 { 21 /** 22 * For serialization 23 */ 24 private static final long serialVersionUID = -4270137898405840825L; 25 26 /** 27 * The main function which defines the behavior of the CalendarDemo 28 * applet when an applet is started. 29 */ 30 public static void main(String argv[]) { 31 32 new CalendarApp().showDemo(); 33 } 34 35 /* This creates a CalendarFrame for the demo applet. */ 36 public Frame createDemoFrame(DemoApplet applet) { 37 return new CalendarFrame(applet); 38 } 39 } 40