單項(xiàng)選擇題

在JPanel中繪圖應(yīng)覆蓋哪個(gè)方法()

A.paint(Graphicsg)
B.paintComponent(Graphicsg)
C.print(Graphicsg)
D.repaint(Rectangler)

微信掃碼免費(fèi)搜題