I want a datepicker in my jframe. I am using JXDatePicker from SwingX, but I have trouble to find out how it works, the datepicker doesnt show.
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
JXDatePicker picker = new JXDatePicker();
jLabel2.setText(picker.getDate().toString());
}
what I would like is for the picker to show when on actionperformed of a button and then write the seledted date in a jlabel. Any Ideas?