import javax.swing.JFrame;public class Fenetre extends JFrame {public Fenetre(MonPanneau P){setTitle("Representation of the ODE solution");setSize(500, 500);setLocationRelativeTo(null);setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);setContentPane(P);setVisible(true);}}