In addition to Norm's suggestion (which is probably the way I would go), you could also add the Icon to a JLabel and add that to the JPanel.

Recommended reading: How to Use Icons (The Java™...