Changed error on JRE bug workaround (border font null) to a warning.
This commit is contained in:
parent
47a55063e5
commit
52685901bf
@ -382,10 +382,10 @@ public class GUIUtil {
|
|||||||
*/
|
*/
|
||||||
Font font = border.getTitleFont();
|
Font font = border.getTitleFont();
|
||||||
if (font == null) {
|
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();
|
font = new JLabel().getFont();
|
||||||
if (font == null) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user