@Test
public void testDatePickerColumns5() {

    JXDatePicker picker = new JXDatePicker();
    picker.getEditor().setColumns(5);
    JXDatePicker other = new JXDatePicker(new Date());
    other.getEditor().setColumns(5);
    assertEquals(other.getEditor().getPreferredSize(), picker.getEditor().getPreferredSize());
    
}