I have a method that generates a JPanel with one checkBox. The method has 3 paramethers, one of them is a Boolean value that is null. When I use the Boolean parameter into A