after designing the form....
the event handler for the submit jtextfield..
Note: this is for only firstname so do the rest..
private void subKeyReleased(java.awt.event.KeyEvent evt) {
String operation = sub.getText();
String opt = operation.toLowerCase();
if("submit".equals(opt)){
String fN = fn.getText();
this.fn.setVisible(false);
this.fnlab.setText(fN);
}
the event handler for the submit jtextfield..
Note: this is for only firstname so do the rest..
private void subKeyReleased(java.awt.event.KeyEvent evt) {
String operation = sub.getText();
String opt = operation.toLowerCase();
if("submit".equals(opt)){
String fN = fn.getText();
this.fn.setVisible(false);
this.fnlab.setText(fN);
}
Sun Nov 27, 2016 1:02 pm by Admin
» ACADEMIC HELP !
Tue Nov 22, 2016 3:37 pm by Admin
» COMPSSA TRENDING ISSUES
Sun Nov 13, 2016 11:14 am by Admin