Search:

Type: Posts; User: Ciaran54

Search: Search took 0.11 seconds.

  1. Replies
    1
    Views
    2,744

    Re: paintComponent() instead of paint()

    Never mind, I solved it:

    Instead of adding GridDraw to the panel like i did here:


    GridDraw drawG = new GridDraw();
    gPanel.add(drawG);
    gPanel.add(test);
    gPanel.repaint();
  2. Replies
    1
    Views
    2,744

    paintComponent() instead of paint()

    (sorry, previously posted in wrong topic)

    OK, I am, as a programming rite, programming my own little version of conway's game of life, and it works fine, apart from trying to paint. I previously...
Results 1 to 2 of 2