Table of Contents
Date input and selection is an important operation in most desktop applications. As the Java language gained strong popularity and support, it started to be used intensively for the development of such applications. However, the Swing library does not contain components for such operations. With the JDatePicker suite you can solve this shortage as it contains components to suit even the most complex date selection operations.
JDatePicker is a suite of powerful date components for Swing. The dates available for selection can be restricted according to a specified pattern. Users can also do single or multiple date selection. So far, the available components are an editable date picker, a date/time field, a multiple month calendar and a month component. The components can be internationalized, have support for mouse and keyboard and they can be used with any look and feel (Metal, Motif, Windows, Aqua and custom ones).
The calendar component is perhaps the most important component because it makes it easier for the users to view and select dates by means of an intuitive interface.
The date field can be used as a date/time editor in applications where users make extensive use of the keyboard. The date field can be customized to use shortcut strings for dates.
The date picker component displays date information and acts as an interface through which a date can be modified. Users can change dates using the built-in editor or the drop down calendar.