/Users/lyon/j4p/src/bookExamples/ch27BusinessGraphics/charts/Paintable.java

1    package bookExamples.ch27BusinessGraphics.charts; 
2     
3    import java.awt.*; 
4     
5    /** 
6     * Paintable is an interface which 
7     * overrides the Component's default paint method 
8     * with a paint method defined in BarGraph, LineGraph or 
9     * PieGraph. 
10    * 
11    * @author  Allison McHenry 
12    * @author  Douglas Lyon, PhD 
13    * @since   JDK 1.3 
14    */ 
15    
16    
17   public interface Paintable { 
18       public void paint(Graphics g); 
19   } 
20