@Override public boolean equals(Object other) { if (other instanceof TextFormat) { TextFormat ofmt = (TextFormat)other; return (font == ofmt.font || (font != null && font.equals(ofmt.font))) && antialias == ofmt.antialias; } else { return false; } }
@Override public boolean equals(Object other) { if (other instanceof TextFormat) { TextFormat ofmt = (TextFormat)other; return (font == ofmt.font || (font != null && font.equals(ofmt.font))) && antialias == ofmt.antialias; } else { return false; } }
if (_font == null || !_font.equals(nfont)) {