public void updateView(Tetromino tetromino){

        for (int i = 0; i < 4; i++) {
            for (int j = 0; j < 4; j++) {
                JLabel cell = (JLabel) getComponent(j * 4 + i);
                if(i < tetromino.getWidth() && j < tetromino.getHeight() && tetromino.hasSquareAt(i, j)){
                    cell.setBackground(tetromino.getColor());
                }else{
                    cell.setBackground(Color.BLACK);
                }
            }
        }

        invalidate();
    }