Main window is created (JFrame)

Main window is created (JFrame), and I created a class for the JPanel.