JFrame's do have an associated content pane whether it is set or not, so calling getContentPane() will not return a null pointer unless you called setContentPane(null)
Along the lines of the...
Type: Posts; User: copeg
JFrame's do have an associated content pane whether it is set or not, so calling getContentPane() will not return a null pointer unless you called setContentPane(null)
Along the lines of the...
I'd first recommend checking whether the images and ImageIcons you load are null (if's and println's work wonders for debugging). If so, then you've got a problem loading your images (make sure they...