} catch (IllegalArgumentException e) {
JOptionPane.showMessageDialog(this, e.getLocalizedMessage(), "Error", JOptionPane.ERROR_MESSAGE);
}
try {
DatePickerTableCellEditor editor1 = new DatePickerTableCellEditor(ButtonDatePickerTableCellEditor.CALENDAR_TYPE);
editor1.setIcalUrl("com/peu/widget/calendar/example/Holidays.ics");
tblDatePickerTable.setDefaultEditor(Calendar.class, null);
tblDatePickerTable.setDefaultEditor(Calendar.class, editor1);
DatePickerTableCellEditor editor2 = new DatePickerTableCellEditor(ButtonDatePickerTableCellEditor.DATE_TYPE);
editor2.setIcalUrl("com/peu/widget/calendar/example/Holidays.ics");
tblDatePickerTable.setDefaultEditor(Date.class, null);
tblDatePickerTable.setDefaultEditor(Date.class, editor2);
DatePickerTableCellEditor editor3 = new DatePickerTableCellEditor(ButtonDatePickerTableCellEditor.SHORT_STRING_TYPE);
editor3.setIcalUrl("com/peu/widget/calendar/example/Holidays.ics");
tblDatePickerTable.setDefaultEditor(String.class, null);
tblDatePickerTable.setDefaultEditor(String.class, editor3);
tblDatePickerTable.getModel().setValueAt(Calendar.getInstance(), 0, 0);
tblDatePickerTable.getModel().setValueAt(new Date(), 0, 1);