You still need to add the panel to the JFrame. You can do it at the bottom of the constructor.