问题:[问答题]
第1处:j1.setForeground(color)第2处:j1.repaint()
● 参考解析
在构件类的方法中,setForeground()为设置构件的前景色,repaint()为重新绘制构件。
推荐题目
相关标签