attempted to draw graphics

attempted to draw graphics unsuccessfully, both image and 3dRect not
working, possibly due to swing structure. NB look at programming 2 shape
drawing lab for refresher.