Code example for Deque

Methods: add

0
			submitButton.setVisible(true);
		} 
	} 
 
	public void add(JPanel panel) {
		guessRows.add(panel);
	}	 
} 
Connect your IDE to all the code out there  Get Codota for Java