Please Download This
http://www.mediafire.com/file/xikt4zotccrkrv4/GPA_Arid.jar
I am facing Reset Problem. It Reset but when I Change Credit Hours it restore previous entered Value.
Reset Button
private void Reset(java.awt.event.ActionEvent evt) {
_M1.setEditable(false);
_M2.setEditable(false);
_M3.setEditable(false);
_M4.setEditable(false);
_M5.setEditable(false);
_M6.setEditable(false);
_M1.setText("");
_M2.setText("");
_M3.setText("");
_M4.setText("");
_M5.setText("");
_M6.setText("");
_C1.setSelectedIndex(0);
_C2.setSelectedIndex(0);
_C3.setSelectedIndex(0);
_C4.setSelectedIndex(0);
_C5.setSelectedIndex(0);
_C6.setSelectedIndex(0);
Master.setSelectedIndex(0);
_C1.requestFocus();
}
Master Credit Hours ComboBox
private void MasterActionPerformed(java.awt.event.ActionEvent evt) {
JComboBox cb = (JComboBox)evt.getSource();
_C1.setSelectedItem(cb.getSelectedItem());
_C2.setSelectedItem(cb.getSelectedItem());
_C3.setSelectedItem(cb.getSelectedItem());
_C4.setSelectedItem(cb.getSelectedItem());
_C5.setSelectedItem(cb.getSelectedItem());
_C6.setSelectedItem(cb.getSelectedItem());
_M1.requestFocus();
}
Thanks