From 52685901bf20b77bc61a2a2e17d80d81a9fa9553 Mon Sep 17 00:00:00 2001 From: Richard Graham Date: Fri, 31 Aug 2012 05:30:21 +0000 Subject: [PATCH] Changed error on JRE bug workaround (border font null) to a warning. --- core/src/net/sf/openrocket/gui/util/GUIUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/net/sf/openrocket/gui/util/GUIUtil.java b/core/src/net/sf/openrocket/gui/util/GUIUtil.java index 1b19e13e6..4ac68dceb 100644 --- a/core/src/net/sf/openrocket/gui/util/GUIUtil.java +++ b/core/src/net/sf/openrocket/gui/util/GUIUtil.java @@ -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; } }