/** Paints the grid, the falling shape and the next shape */ public void paintComponent(Graphics g) { super.paintComponent(g); grid.drawGrid(grid.getGrid(), g); game.getCurrentShape().drawShape(g); game.drawAllShapes(g, game.getAllShapes()); repaint(); }