int rheight = (int)(getHeight()*scale);
int rheight = (int)((getY()+getHeight())*scale)-getRy();
protected void validate() {  revalidatePosition();	  double scale = getRscale();  int rwidth = (int)(getWidth()*scale);  int rheight = (int)(getHeight()*scale);  setRwidth(rwidth);  setRheight(rheight);  // set appropriate font size  int x0 = (int)(8*scale);		// insets  int y0 = (int)(4*scale);  setLabel(fieldData.getName());  Font font;  if (rwidth<(2*x0)) font = null;  else  font = FontMetricsBuffer.getInstance().getAppropriateFont(	  			Constants.DEFAULT_FONT, Font.PLAIN, 	  			getLabel(), rwidth-x0, rheight-y0);  if (font!=null) {	  FontMetrics fm = FontMetricsBuffer.getInstance().getFontMetrics(font);	  setRlabelX((rwidth-fm.stringWidth(getLabel()))/2); 	  setRlabelY((rheight-fm.getHeight())/2+fm.getAscent());  }    setFont(font);}