@Override public void initialize(final WidgetModel model) { super.initialize(model); checkBox = new JCheckBox(""); setToolTip(checkBox); getComponent().add(checkBox); checkBox.addChangeListener(this); refreshWidget(); }
@Override public void set(final WidgetModel model) { super.set(model); dateModel = new UtilDateModel(); final JDatePickerImpl datePicker = new JDatePickerImpl(new JDatePanelImpl(dateModel), null); setToolTip(datePicker); getComponent().add(datePicker); datePicker.addActionListener(this); refreshWidget(); }