The Drawable interface defines six methods: interface Drawable { public Color getColor(); public void setColor( Color color ); public void draw( Graphics g ); public void draw( Component c ); public void fill( Graphics g ); public void fill( Component c ); } |
Notice the two forms of draw(...) and fill(...) |