Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Re: Can't get JLabel to change text while program is running.

    Try debugging the method by adding some printlns to see what values the variables in the method have.
    The printout should show you what is happening.


    The code has some hard coded magic numbers...
  2. Re: Can't get JLabel to change text while program is running.

    How does randomInt() generate the number it returns?
  3. Re: Can't get JLabel to change text while program is running.

    You need to add lots more println statements to see what the code is doing. Print out the values of variables as they are used and changed.
Results 1 to 3 of 3