method:setIconImage ( object_image_icon );return type:voidcontent:ใช้กำหนด icon ให้กับ frameexample:Frame frame = new Frame (); Icon icon = new ImageIcon ( "C:/panda.png" ); frame.setIconImage ( icon );