Date Selection Dialog

Purpose

We often need a helper to select a date. This contribution provides a simple dialog which displays a calendar with a navigation toolbar.
  • It's Client Locale sensitive.
  • You see the previous and the next months.
  • They are not enabled, but at least it's continuous.
  • There is a button "Today" which displays the current month.

Related to

This contribution is related to Contributions/Extensions/Date Chooser.

How to use

There are only 2 public methods in DateSelectorDialog.
  • public void resetDialog(): obvious
  • public void selectionPerformed(int year, int month, int date): called when the user clicks on a date

How it is implemented

The DateSelectorDialog is a subclass of ULCDialog.

Resources