method:new JPanel ();return type:JPanelcontent:ใช้สร้าง Object JPanelexample:JPanel panel = new JPanel ();