Java & Netbeans: Load default date in jDateChooser

The code is use to display default date in jDateChooser. Remember that the date is based on your computer default date. Insert the code inside the public class after the “initComponents();”

yourdate.setDate(new Date());


Leave a Reply

Be the First to Comment!

Notify of