Here I am providing the downloadable code link of the java code I have used in the video
"Java prog#18. How to clear a JTextField with a button in Netbeans Java" of my YouTube channel ProgrammingKnowledge
Click Link to watch the video LINK
This code below is for the cmd_clearActionPerformed method action perform
private void cmd_clearActionPerformed(java.awt.event.ActionEvent evt) {
txt_Empoyeeid.setText("");
txt_name.setText("");
txt_surname.setText("");
combo_age.setSelectedItem("");
CurrentDate();
}