I have a semi-complete java calculator that is not quite working properly. Whenever I hit the "1" button, it does not allow for me to add more ones. It allows me to click the button, but it only shows a single "1", rather than allowing for me to hit it multiple times and print out singular numbers. The code is done in NetBeans, and is using the design section. The link to my code is as follows: http://pastebin.com/vq9fSA2b.
I would really appreciate getting some help with this as it has created a block in my design. The error is at line 209, under btn1. I also need to add the same standard part of code under each section, but I cannot do so without having the correct code to put in.
The listener method is this:
private void btn1ActionPerformed(java.awt.event.ActionEvent evt) {
String btnOneText = btn1.getText( );
txtDisplay.setText(btnOneText);
}