Swing部件中图形绘制一般是通过重写以下哪个方法?

Swing部件中图形绘制一般是通过重写以下哪个方法?

A.paint

B.paintComponent

C.update

D.erreadLine()paintBorder

正确答案:B

猜你喜欢