public void paintBorder(Component c, Graphics  g, int  x, int  y, int  width, int  height)
public void paintBorder(Component c, Graphics  g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor();   class BorderPainter
    public void paintBorder(Component c,			    Graphics  g, 			    int  x,			    int  y, 			    int  width, 			    int  height)    {    }