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();
Type: Posts; User: Ciaran54
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();
(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...