code: private int getButtonHeight(JComponent c, int height) {
          String scaleKey  = SeaGlassStyle.getSizeVariant(c);
          int    newHeight = 27;
  
          // If the key is natural, allow the button to scale.
          if (SeaGlassStyle.NATURAL_KEY.equals(scaleKey)) {
              return height;
          } else if (SeaGlassStyle.LARGE_KEY.equals(scaleKey)) {
              newHeight *= SeaGlassStyle.LARGE_SCALE; // 31
          } else if (SeaGlassStyle.SMALL_KEY.equals(scaleKey)) {
              newHeight *= SeaGlassStyle.SMALL_SCALE; // 23
          } else if (SeaGlassStyle.MINI_KEY.equals(scaleKey)) {
              newHeight *= SeaGlassStyle.MINI_SCALE; // 19
          } else {
              if (height < 22) {
                  newHeight *= SeaGlassStyle.MINI_SCALE;
              } else if (height < 26) {
                  newHeight *= SeaGlassStyle.SMALL_SCALE;
              } else if (height >= 30) {
                  newHeight *= SeaGlassStyle.LARGE_SCALE;
              }
          }
  
          return newHeight;
      }
docs: Compute the new button height for drawing, forcing the button into a
  standard height.
  
  @param  c      the button.
  @param  height the height requested.
  
  @return the new height.