以下paintComponent方法利用Graphics2D绘制一个左上角坐标是(10,30),边长为50的红色正方形。
①(Graphics2D)g②10,30,50,50③g2d.draw(rec)
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/437677.html
上一篇:Vocabulary DevelopmentScan the following passage and find the words or phrases that have roughly the same meanings as those given.Self esteem,self confidence and self respect are all related. Self esteem is also defined as the judgments a person make
下一篇:在Word中,要选定插入点在其中的单元格,则按快捷键()