Class CalendarFrame

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

class CalendarFrame extends Frame
A Frame is a top-level window with a title. The default layout for a frame is BorderLayout. The CalendarFrame class defines the window layout of CalendarDemo.
  • Field Details

  • Constructor Details

    • CalendarFrame

      public CalendarFrame(DemoApplet myApplet)
      Constructs a new CalendarFrame that is initially invisible.
  • Method Details

    • add

      private static void add(Container container, Component component, GridBagLayout g, GridBagConstraints c, int gridwidth, int weightx)
    • init

      public void init()
      Initializes the applet. You never need to call this directly, it is called automatically by the system once the applet is created.
    • updateMonthName

      private void updateMonthName()
    • errorText

      public void errorText(String s)
      Print out the error message while debugging this program.
    • makeIslamic

      private static final Calendar makeIslamic(boolean civil)