Changed error on JRE bug workaround (border font null) to a warning.
authorrichardgraham <richardgraham@180e2498-e6e9-4542-8430-84ac67f01cd8>
Fri, 31 Aug 2012 05:30:21 +0000 (05:30 +0000)
committerrichardgraham <richardgraham@180e2498-e6e9-4542-8430-84ac67f01cd8>
Fri, 31 Aug 2012 05:30:21 +0000 (05:30 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@1008 180e2498-e6e9-4542-8430-84ac67f01cd8

core/src/net/sf/openrocket/gui/util/GUIUtil.java

index 1b19e13e6224453a9a654c3d23c513117a2ea24e..4ac68dcebcad4091b856f7d7a511fcb011d43b17 100644 (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;
                        }
                }