Sunday, November 25, 2018

jDatechooser date convert to string - date add to jTextField in Java


In this tutorial I talk about how jDate chooser value add to jtext field. In here convert jdate Chooser value to string format and that set to jText field. You can download source code...






 private void getDate()
    {
   
     String selectdate =((JTextField)date.getDateEditor().getUiComponent()).getText();
      getdate.setText(selectdate);
   
    }

2 comments: