Changed error on JRE bug workaround (border font null) to a warning.
[debian/openrocket] / 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;
                        }
                }