The problem was that "errorF.setFont(boldFont);" got put with theinstance vars by mistake, instead of in the constructor