Search:

Type: Posts; User: Leonardo1143

Search: Search took 0.14 seconds.

  1. Replies
    17
    Views
    1,231

    Re: Need help on my code

    Thank You, Norm. I got it to work thank you for being so patient with me.
  2. Replies
    17
    Views
    1,231

    Re: Need help on my code

    Oh. I think I'm getting it. Remove setText(). from the method and move into the action listener only?
  3. Replies
    17
    Views
    1,231

    Re: Need help on my code

    Okay which line of code is calling the setText()? I can't see it? Because I thought I needed to place getText in order for the setText to be called. I'm guessing this is wrong?
  4. Replies
    17
    Views
    1,231

    Re: Need help on my code

    For the first part how would I go about changing my code so it wont call the setText() methods?
  5. Replies
    17
    Views
    1,231

    Re: Need help on my code

    Okay, again sorry if I am hard to work with, but I want my program to display blank TextFields when it is first started. Then when the GO Button is pressed I want the values put in. For example...
  6. Replies
    17
    Views
    1,231

    Re: Need help on my code

    Okay. but if I leave it as 25. it will show in the TextField even if I never press GO how do I fix that?
  7. Replies
    17
    Views
    1,231

    Re: Need help on my code

    Okay, I think I wrapped it. Tell me if i did it incorrectly, though.

    I can't copy the window right now since I am not on my programming computer. What I am trying to do is get FirstTextField to...
  8. Replies
    17
    Views
    1,231

    Re: Need help on my code

    how do i wrap the code in code tags so it makes it easier to read?

    also what happens is that "%d,int a" is displayed not my value, in this case 25. all it displays in the textfield is "%d,inta" i...
  9. Replies
    17
    Views
    1,231

    Need help on my code

    Hi everyone. I’m a beginner in Java. I’m trying to write a program that will simulate melee combat between different races and different species. However, I’m having trouble. When I press the ‘go’...
Results 1 to 9 of 9