I created a JFrame in Netbeans and added a JPanel (automatically declared in non-editable code as private javax.swing.JPanel jPanel1).
I have a button on my form and would like to display an image in the panel upon clicking the button - however I'm not sure what code I need to display the image.