Changed error on JRE bug workaround (border font null) to a warning.

This commit is contained in:
Richard Graham 2012-08-31 05:30:21 +00:00
parent 47a55063e5
commit 52685901bf

View File

@ -382,10 +382,10 @@ public class GUIUtil {
*/
Font font = border.getTitleFont();
if (font == null) {
log.error("Border font is null, reverting to JLabel font");
log.warn("JRE bug workaround : Border font is null, reverting to JLabel font");
font = new JLabel().getFont();
if (font == null) {
log.error("JLabel font is null, not modifying font");
log.warn("JRE bug workaround : JLabel font is null, not modifying font");
return;
}
}