changed Graphic to GraphicSwing to modularize graphic