Search:

Type: Posts; User: Wakko45

Search: Search took 0.30 seconds.

  1. Replies
    12
    Views
    639

    [SOLVED] Re: Thread/Double Buffer Help

    I believe I have finally fixed it. Thank you so much for your help.
  2. Replies
    12
    Views
    639

    [SOLVED] Re: Thread/Double Buffer Help

    I'm sorry, I'm kind of new to this but I'm not sure I quite understand what you mean by a component and how would I know if it's visible?
  3. Replies
    12
    Views
    639

    [SOLVED] Re: Thread/Double Buffer Help

    I just updated the original post with my current code.

    I understand that the createImage() args are a specified width and height. I'm thinking now that getWidth(), getHeight() get the height...
  4. Replies
    12
    Views
    639

    [SOLVED] Re: Thread/Double Buffer Help

    It says:


    So i'm guessing the component is not displayable but I'm not exactly sure how to fix that. Any suggestions to point me in the right direction?
  5. Replies
    12
    Views
    639

    [SOLVED] Re: Thread/Double Buffer Help

    I went through with the debugger and it is null. But I thought

    dbImage = createImage(getWidth(), getHeight());
    would give it a valid value, no? Which means for some reason that line isn't giving...
  6. Replies
    12
    Views
    639

    [SOLVED] Re: Thread/Double Buffer Help

    I forgot to mention that only one duck will ever be alive at one point.
    So should I put a repaint() at the bottom of the move method in the Duck class, and how would I make one thread for all ducks....
  7. Replies
    12
    Views
    639

    [SOLVED] Thread/Double Buffer Help

    So I have been watching some videos and reading some articles recently on Double Buffering and Threads and I tried to incorporate them into my program. My program is to make Duck Hunt. I have most...
Results 1 to 7 of 7