Added: 1 year ago
From: vtuser01
Views: 5,691
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (12)

Sign In or Sign Up now to post a comment!
  • 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!!!!!!!!!!!!!

  • 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

    You probably have: "public void actionPerformed(ActionEvent args0)" og something.

    It should be: "public void actionPerformed(ActionEvent e)"

  • I dont get the text field..?

  • 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

    you probably did

    if(source==but1){ text.append("11");

    }

    instead of

    if(source==but1){ text.append("1");

    }

  • Welcome to our turd turdirial lol love the accent

  • I got it fixed, i had ; after the if(source==but1)

  • 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?

  • buttons dont work

  • 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

  • im cant get what sym for the "Override" is it "&" because it does not reconise that

  • y isnt my append working? i get an error saying ''the method append(sTr) is undefined for the type JTextfield?? quickk help plzz

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more