Search:

Type: Posts; User: Norm

Search: Search took 0.17 seconds.

  1. Replies
    7
    Views
    1,470

    Re: Novice: Issues With One-Armed Bandit Program

    Add some println() statements to the code that will print out a message when they are executed. You need to see if the code in the actionPerformed() method is being executed. If the message is not...
  2. Replies
    7
    Views
    1,470

    Re: Novice: Issues With One-Armed Bandit Program

    Does the println message you added in the actionPerformed() method print when the exit button is pressed?


    Where is the if statement you just posted located inside of the actionPerformed method?...
  3. Replies
    7
    Views
    1,470

    Re: Novice: Issues With One-Armed Bandit Program

    There are many ways for code to not work. Can you explain what happens when you execute the code?


    Add a call to the println method first thing in the method to see if it is called.
  4. Replies
    7
    Views
    1,470

    Re: Novice: Issues With One-Armed Bandit Program

    Make a list of the problems and work through them one at a time.
    What is the first problem that you are working on?
Results 1 to 4 of 4