public void drawFrame()
Rectangle rect = (new Rectangle(20,20,WIDTH - 20, HEIGHT - 20));
Im trying to get the rectangle to change with the size of the canvas, when the canvas's size is changed, and leaving a 20px edge. However its only producing two line not a full rectangle? Any help be much appreciated.