Click and Pick: Picking Dates Using JCalendar

Many applications have data entry screens with date fields in which the user must enter a month, day, and year. Although it may be less work for the programmer to just let users manually enter these dates as text, it's not as friendly to the user as having a pop-up window with a date-picking calendar. Also, by using a date picker, the values will never be entered incorrectly and data validation is much easier. JCalendar is an open-source component for picking dates from a calendar. Adding the JCalendar class to any Swing container displays the calendar and allows the user to move backward and forward ...

Get Wicked Cool Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.