I was trying to make a calculator with java in NetBeans follow ing this tutorial here is the tutorial https://www.youtube.com/watch?v=_ZW4ktG1DEE&list=PLAL-dvEAuBBTkYoPZ4XRU3FsoB8Nm03hy
also, this is my code
private void jRadioButton1ActionPerformed(java.awt.event.ActionEvent evt) {
enable(); //call enable
}
private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {
jTextField1.setText(jTextField1.getText() + "1");
}
jTextField1.setText(jTextField1.getText() + "1");
private void jButton12ActionPerformed(java.awt.event.ActionEvent evt) {
jTextField1.setText(jTextField1.getText() + "2");
}
As I am very new to java and this is my first project so any help will be greatly appreciated.
Thanks extremepro999 aka extremenoob999
Thanks all who answered but i found the answer to the error it was a button which had some names.
thanks