单项选择题

在图形方式的Application中,要设置窗口的图标,应调用方法()

A.drawImage()
B.drawIcon()
C.drawIconImage()
D.setIconImage()