Class BasicDatePickerUI.DefaultEditor

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, UIResource, Scrollable, SwingConstants
Enclosing class:
BasicDatePickerUI

private class BasicDatePickerUI.DefaultEditor extends JFormattedTextField implements UIResource
A subclass of JFormattedTextField which calculates a "reasonable" minimum preferred size, independent of value/text.

Note: how to find the "reasonable" width is open to discussion. This implementation creates another datepicker, feeds it with the formats and asks its prefWidth.

PENDING: there's a resource property JXDatePicker.numColumns - why don't we use it?