gameGrid = new Grid(false);
gameGrid.setBounds(150, 10, 305, 600);
this.add(gameGrid);
gameBlock = new Block(gameGrid);
inQueueGrid = new Grid[QUEUE_SIZE];
inQueueBlock = new Block[QUEUE_SIZE];
JLabel
nextLabel = new JLabel("Next");
nextLabel.setForeground(Program.foreground);
nextLabel.setHorizontalAlignment(SwingConstants.CENTER);
nextLabel.setFont(Program.displayFont(Font.BOLD, 15));
nextLabel.setBounds(480, 20, 100, 40);
this.add(nextLabel);
for (int i = 0; i < QUEUE_SIZE; ++i) {
inQueueGrid[i] = new Grid(true);
inQueueGrid[i].setBounds(480, 70 + 110 * i, 100, 100);
this.add(inQueueGrid[i]);
inQueueBlock[i] = new Block((inQueueGrid[i]));
}
MainFrame.setGamePanel(this);
fallTimer.start();
}