Search:

Type: Posts; User: pbrockway2

Search: Search took 0.14 seconds.

  1. Thread: Components?

    by pbrockway2
    Replies
    31
    Views
    2,998

    Re: Components?

    How big is the newly added component? And where is it? Use getBounds() in the paint() method to find out.



    I can only speak for myself, but the Swing engineers know a lot more about threading...
  2. Thread: Components?

    by pbrockway2
    Replies
    31
    Views
    2,998

    Re: Components?

    Does the game actually get into state 8? Check by using System.out.println(...) in your paint() method. Do you really mean to create and add more and more of these components every time the panel...
  3. Thread: Components?

    by pbrockway2
    Replies
    31
    Views
    2,998

    Re: Components?

    Post code. If "add(new GroundTileATop(spx,spy));" is failing to have the visual effect you expect in your gui, then we really need to see the code of which it is part.
Results 1 to 3 of 3