首页 › 答案 › 题库 › 知到智慧树 › 未分类

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

Swing部件中图形绘制一般是通过重写以下哪个方法?
A.paint
B.paintComponent
C.update
D.erreadLine()paintBorder
正确答案:B