Calendar class represents a widget for displaying dates.
Form, is also a subclass of
Container and inherits its characteristics.
The default display format shows one month at a time, with the current date highlighted. This view of the month is provided by the
MonthView class, which can be accessed only from within the
com.sun.lwuit package. This means we cannot use
MonthView, nor can we see it in the API documentation.
calendar object can be instantiated by using one of the two constructors of the
Calendar class. The constructors are:
public Calendar()—the calendar object created will be initialized to the current date and time.
BorderLayoutis the default layout manager for
public Calendar(long ...