protected int dialogUnitYAsPixel(int dluY,double dialogBaseUnitsY){
  return (int)Math.round(dluY * dialogBaseUnitsY / 8);
}

protected int dialogUnitYAsPixel ( int dluY , double dialogBaseUnitsY ) { return ( int ) Math . round ( dluY * dialogBaseUnitsY / 8 ) ; }
converts vertical dialog units and returns pixels .
