Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    26
    Views
    3,328

    Re: Getting Pictures to Spin

    Glad you got it to work. Good luck on your projects.
  2. Replies
    26
    Views
    3,328

    Re: Getting Pictures to Spin

    Please post all of the code to be sure we using the same code as you are.

    I still see repeated if tests that should be merged.
  3. Replies
    26
    Views
    3,328

    Re: Getting Pictures to Spin

    If you expect more than one image to be shown in a box, what code will make that happen? Is the code doing what you want it to do? By printing out messages showing where the code is executing and...
  4. Replies
    26
    Views
    3,328

    Re: Getting Pictures to Spin

    First you need to fix this: What about the repeated if tests in the actionPerformed() method?
    See post#14
    Did you merge them?

    Then do some debugging by adding println statements to show when the...
  5. Replies
    26
    Views
    3,328

    Re: Getting Pictures to Spin

    Do you want the three image display boxes to display a "slideshow" of images before stopping on an image? The SpinSimulator program has logic to chose an image, display it, wait some, chose another...
  6. Replies
    26
    Views
    3,328

    Re: Getting Pictures to Spin

    Can you explain what you mean by "act the same"?
    What does the code do now?
    What do you want it to do differently?
  7. Replies
    26
    Views
    3,328

    Re: Getting Pictures to Spin

    Is your problem solved now?
  8. Replies
    26
    Views
    3,328

    Re: Getting Pictures to Spin

    What is there about the Timer you want to know? What was printed: javax.swing.Timer@a3bcc1 is the String returned by the TImer class's toString() method (really the Object class's method): the name...
  9. Replies
    26
    Views
    3,328

    Re: Getting Pictures to Spin

    Do you know how to code a println? Here's an example:


    System.out.println("obj="+object);

    The code has lots of logic like if statements and switch statements, print out the values...
  10. Replies
    26
    Views
    3,328

    Re: Getting Pictures to Spin

    Have you tried debugging the code by adding lots of println statements to print out the values of variables used to control execution flow and to show the execution flow. That will be how I debug...
  11. Replies
    26
    Views
    3,328

    Re: Getting Pictures to Spin

    What is shown when the posted program is executed? What is the problem with the posted code?
    When the Spin button is pressed, It shows some images and then stops
  12. Replies
    26
    Views
    3,328

    Re: Getting Pictures to Spin

    By spinning do you mean showing different images over time? Like a slideshow?


    What is shown when the posted program is executed? What is the problem with the posted code?
  13. Replies
    26
    Views
    3,328

    Re: Getting Pictures to Spin

    Can you make a small, complete program that compiles, executes and shows the problem?

    What do you mean by "picture spin"?
Results 1 to 13 of 13