0

I need to set the current date to jdatechooser this code is Not working

Date date = new Date ();
Jdatechooser.setDate(date);
ΦXocę 웃 Пepeúpa ツ
  • 47,427
  • 17
  • 69
  • 97

1 Answers1

2

You need a datechooser object.

Date date = new Date ();
JDateChooser dateChooser = new JDateChooser();
dateChooser.setDate(date);
sinclair
  • 2,812
  • 4
  • 24
  • 53