001package factory.shape1; 002import java.awt.Graphics; 003public interface Shape { 004 void paint(Graphics g); 005}