I would paint the shapes on a JPanel which is then added to the JFrame. Each shape change entered by the user, color, x/y position - whatever - affects the attributes of the shape(s) which are then...