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();
}
Hi,am designing an application.In that am using jtable I have created to buttons 1)create 2)Delete.
ReplyDeleteAfter performing the delete operation the am able to see the content in the jtable.
Can i know hoe to clear the jtable data