To add an image to a swing component simply create a new label without any text and use setIcon(Icon) to set its icon.