void (<error descr="Cannot resolve symbol 'Font'">Font</error> font) { block = getFontMetrics(font).<error descr="Cannot resolve method 'getHeight()'">getHeight</error>(); //java super.setFont(font); //java //midp block = font.getHeight(); //midp this.font = font; }