As mentioned in the comments, a second call to setColor solves the issue: Java. Copy Code. g.fillRect(20,5,330,25); g.setColor(Color.
確定! 回上一頁