| Introduction JCalendar is a Java date chooser bean for graphically picking a date. JCalendar is composed of several other Java beans, a JDayChooser, a JMonthChooser and a JYearChooser. All these beans have a locale property, provide several icons (Color 16×16, Color 32×32, Mono 16×16 and Mono 32×32) and their own locale property editor. So they can easily be used in GUI builders. Also part of the package is a JDateChooser, a bean composed of an IDateEditor (for direct date editing) and a button for opening a JCalendar for selecting the date. License Components |
|||
| Icon 16×16 | Icon 32×32 | Component | Description |
![]() |
JDateChooser allows you to pick a date. You could either edit the date directly or click the image to popup a JCalendar to choose the date. The default date editor provides coloring of invalid dates as well as optional showing a mask. Also a JSpinnerDateEditor is provided that uses a JSpinner to display the date. | ||
![]() |
JCalendar allows you to choose a year, a month and a day. Depending on the locale, the month names and the weekday names change. The foreground of “today” is painted red. JCalendar is composed of several other beans described below. | ||
![]() |
JYearChooser is a JSpinField (see below) that allows you to choose a year by either typing the year in or using the spin buttons to increase or decrease the value. | ||
![]() |
JMonthChooser is a JComboBox that allows you to choose a month by either using the combo box or the spin buttons. The language of the month names is defined by the locale property. | ||
![]() |
JDayChooser lets you choose a day by clicking on the day number. Depending on the locale, the weekday names and the first days of the week change. The foreground of “today” is painted red. For navigation you can use the cursor and tab keys. | ||
![]() ![]() ![]() |
JSpinField lets you choose a numeric value. Properties for minimum and maximum values are provided. The value can be typed in directly or increased and decreased by the spin buttons. If you have typed in an incorrect value, the foreground color changes to red. Correct values are displayed green. After pressing the enter key the value will be set and displayed black. Since version 1.1.4 the preferred with of the value field is adjusted to the maximum of the width of minimum or maximum. | ||
![]() |
JLocaleChooser is a JComboBox that allows you to choose a locale. It can be used to test or set the locales of the beans above. | ||
|
Download and Latest Version
API Documentation Bugs and FeatureRequests User Forum History Awards |
|||
- Home
- JCalendar DemoTo run the JCalendar demonstration applet in your browser, the Java Plug-in has to be installed. This applet demonstrates the JCalendar Java bean suite, including a Java date chooser composed of several other Java beans (a JDayChooser, a JMonthChooser and a JYearChooser). All these beans have a locale property. If you change the locale with the locale chooser, the names of the months and weekdays change (make sure, that you have bound the Java Plug-in to an international JRE, otherwise you might see only one locale!). Just for demonstration, the chosen date is displayed below the locale chooser. Since I think it looks just great, I have packaged JCalendar with the free JGoodies Plastic 3D look & feel (made by JGoodies).
- Blog
- Contact
- Software













