Created a JFrame with an ImagePanel inside