use fillRect() method . g.fillRect(left, right, width, height);. from javadoc. drawRect(). Draws the outline of the specified rectangle.
確定! 回上一頁