Font font = view.getFont(); FontMetrics metrics = Toolkit.getDefaultToolkit().getFontMetrics(font); float height = metrics.getHeight();
updateFontMetrics(view); float height = fontMetrics.getHeight();
    public float getHeight(GlyphView view)    {      Font font = view.getFont();      FontMetrics metrics = Toolkit.getDefaultToolkit().getFontMetrics(font);      float height = metrics.getHeight();      return height;    }