Class JCalendarDemo

All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, RootPaneContainer

public class JCalendarDemo extends JApplet implements PropertyChangeListener
A demonstration Applet for the JCalendar bean. The demo can also be started as Java application.
Version:
$LastChangedRevision: 103 $, $LastChangedDate: 2006-06-04 14:57:02 +0200 (So, 04 Jun 2006) $
Author:
Kai Toedter
See Also:
  • Constructor Details

    • JCalendarDemo

      public JCalendarDemo()
  • Method Details

    • init

      public void init()
      Initializes the applet.
      Overrides:
      init in class Applet
    • initializeLookAndFeels

      public final void initializeLookAndFeels()
      Installs the JGoodies Look & Feels, if available, in classpath.
    • createToolBar

      public JToolBar createToolBar()
      Creates the menu bar
      Returns:
      Description of the Return Value
    • createMenuBar

      public JMenuBar createMenuBar()
      Creates the menu bar
      Returns:
      Description of the Return Value
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      The applet is a PropertyChangeListener for "locale" and "calendar".
      Specified by:
      propertyChange in interface PropertyChangeListener
      Parameters:
      evt - Description of the Parameter
    • main

      public static void main(String[] s)
      Creates a JFrame with a JCalendarDemo inside and can be used for testing.
      Parameters:
      s - The command line arguments