I think you are confusing the name
property for the text
property
System.out.println(imagesToBeImportedCheckBox[check_Box_Number].getName());
Should be
System.out.println(imagesToBeImportedCheckBox[check_Box_Number].getText());
The text
property is responsible for determining what is actually displayed on the screen.
It is also what is set when you pass a String
to JCheckBox
's constructor...
... = new JCheckBox(currentImage.getName());
Will set the JCheckBox
's text
property