public void paintValue(Graphics gfx,Rectangle box){
  gfx.drawString(m_Format.toPattern(),box.x,box.y + box.height);
}

public void paintValue ( Graphics gfx , Rectangle box ) { gfx . drawString ( m_Format . toPattern ( ) , box . x , box . y + box . height ) ; }
paints a graphical representation of the object . it just prints the format .
