I recently viewed the following code in the context of implementing a JDatePicker in this post.
UtilDateModel model = new UtilDateModel();
//model.setDate(20,04,2014);
// Need this...
Properties p = new Properties();
p.put("text.today", "Today");
p.put("text.month", "Month");
p.put("text.year", "Year");
JDatePanelImpl datePanel = new JDatePanelImpl(model, p);
// Don't know about the formatter, but there it is...
JDatePickerImpl datePicker = new JDatePickerImpl(datePanel, new DateLabelFormatter());
I wanted to know what the properties Keys "text.month" and "text.year" do. I tried implementing this code and say no change when omitting them. Furthermore, I tried searching for a list of Keys in the Properties class and found nothing helpful. Would anyone know what these property keys do or how I could find out if omitting them is acceptable?