Hello
i'm trying to display date in textfield
this is my code:
private void DateObjectActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
java.util.Date date=new java.util.Date();
this.DateObject.setText(date.toString());
olny the problem is the date will only show If i press a button
I want it to display automatically when I run the programme without the need to press any buttons
i'm using netBeans GUI Bilder
thank you