Added method for getting an Image instead of JLabel