help I tried to quick fix a problem and it created a new calculator_ui and that has errors in it and i can't delete it and I put in a } to finish a paragraph and it says I have 2 delete it Help!!!!!!!!!!!!!
When I press any of the buttons 1,2,3 ect on the calculator it automatically puts 1234567890 on the display, this happens when i hit the + sign to, whats my problem?
help I tried to quick fix a problem and it created a new calculator_ui and that has errors in it and i can't delete it and I put in a } to finish a paragraph and it says I have 2 delete it Help!!!!!!!!!!!!!
TheJrd2000 2 months ago
Object source = e.getSource(); if(source==but1) { text.append("1"); }
i get an error that says: e cannot be resolved.
anyone know what i did wrong?
Minigraven 4 months ago
@Minigraven
You probably have: "public void actionPerformed(ActionEvent args0)" og something.
It should be: "public void actionPerformed(ActionEvent e)"
jaancu 3 weeks ago
I dont get the text field..?
Tangenvgsfilm 8 months ago
i followed all of the code that you did and when i press the "1" button it prints"11" instead of "1". Can anyone help?
trumpetguitar101 8 months ago
@trumpetguitar101
you probably did
if(source==but1){ text.append("11");
}
instead of
if(source==but1){ text.append("1");
}
awesomelemonade 7 months ago
Welcome to our turd turdirial lol love the accent
3picdc 9 months ago
I got it fixed, i had ; after the if(source==but1)
youngday713 10 months ago
When I press any of the buttons 1,2,3 ect on the calculator it automatically puts 1234567890 on the display, this happens when i hit the + sign to, whats my problem?
youngday713 10 months ago
buttons dont work
youngday713 10 months ago
im cant get what sym for the "Override" is it "&" because it does not reconise that never mind i got it it was the "@" sign
ty for these vids!!!! they help a lot im just starting... trying to take in all i can
alexpet888 11 months ago
im cant get what sym for the "Override" is it "&" because it does not reconise that
alexpet888 11 months ago
y isnt my append working? i get an error saying ''the method append(sTr) is undefined for the type JTextfield?? quickk help plzz
awaqar2 1 year ago