< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/metal/DefaultMetalTheme.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 358,368 ****
private static int[] defaultMapping = {
CONTROL_TEXT_FONT, SYSTEM_TEXT_FONT,
USER_TEXT_FONT, CONTROL_TEXT_FONT,
CONTROL_TEXT_FONT, SUB_TEXT_FONT
};
! FontUIResource fonts[];
// menu and window are mapped to controlFont
public FontDelegate() {
fonts = new FontUIResource[6];
}
--- 358,368 ----
private static int[] defaultMapping = {
CONTROL_TEXT_FONT, SYSTEM_TEXT_FONT,
USER_TEXT_FONT, CONTROL_TEXT_FONT,
CONTROL_TEXT_FONT, SUB_TEXT_FONT
};
! FontUIResource[] fonts;
// menu and window are mapped to controlFont
public FontDelegate() {
fonts = new FontUIResource[6];
}
< prev index next >