You can see the snippet in the paintComponent (Graphics g) method defined in the anonymous JPanel object. Area of Rectangle = length * width.
確定! 回上一頁