Search:

Type: Posts; User: snowguy13

Search: Search took 0.08 seconds.

  1. Replies
    9
    Views
    1,711

    [SOLVED] Re: Painting Issues

    Oh, whoops -- I misunderstood you the first time. Yes, I will add that line of code. Thank you for your help!
  2. Replies
    9
    Views
    1,711

    [SOLVED] Re: Painting Issues

    If I'm calling repaint() in the LevelPanel class, will super.repaint() suffice if placed before the repaint() call?
  3. Replies
    9
    Views
    1,711

    [SOLVED] Re: Painting Issues

    Exactly as I found. Thank you for your help!
  4. Replies
    9
    Views
    1,711

    [SOLVED] Re: Painting Issues

    Okay, this is utterly silly, but I found a solution.

    The renderLevel method declaration I switched to this:

    renderLevel(LevelPanel l, Graphics g)

    and then I switched the paintComponent...
  5. Replies
    9
    Views
    1,711

    [SOLVED] Re: Painting Issues

    Heh, it's not much:


    public class LevelPanel {
    //... blah blah ... a lot of other code
    public void paintComponent(Graphics g) {
    Renderer.renderLevel(this);
    }
  6. Replies
    9
    Views
    1,711

    [SOLVED] Painting Issues

    Hello! I've been doing HTML for a while and now am returning to Java after a few months, and I can tell I've lost a few things...

    Right now, I'm trying to develop a very basic layout for an RPG....
Results 1 to 6 of 6