Create a class named FlowLayoutDemo extends JFrame. Create user interface using JPanels and JButtons.  Add the instances of 3 JButtons using FlowLayout to JPanel named panel1 and other 3 instances of JButtons using FlowLayout to JPanel named panel2.  Add panel1 and panel2 to JFrame using FlowLayout and set frame title to FlowLayout Demo. Use pack method of JFrame, center the frame, and make the frame visible