Java Paint app used to draw some shapes