mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
TextAreasTest.test1: refine logging [2]
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ public final class TextAreasTest extends UsefulTestCase {
|
||||
{
|
||||
Logger.setFactory(TestLoggerFactory.class);
|
||||
TestLoggerFactory.enableDebugLogging(myTestRootDisposable,
|
||||
new String[]{"#com.intellij.uiDesigner.core.GridLayoutManager"});
|
||||
new String[]{"#com.intellij.util.ui.UIUtil"});
|
||||
}
|
||||
private final Logger LOG = Logger.getInstance("#com.intellij.uiDesigner.core.TextAreasTest");
|
||||
|
||||
|
||||
@@ -87,6 +87,7 @@ import java.util.regex.Pattern;
|
||||
*/
|
||||
@SuppressWarnings("StaticMethodOnlyUsedInOneClass")
|
||||
public class UIUtil {
|
||||
private static final Logger LOG = Logger.getInstance("#com.intellij.util.ui.UIUtil");
|
||||
|
||||
public static final String BORDER_LINE = "<hr size=1 noshade>";
|
||||
|
||||
@@ -218,8 +219,6 @@ public class UIUtil {
|
||||
}
|
||||
};
|
||||
|
||||
private static final Logger LOG = Logger.getInstance("#com.intellij.util.ui.UIUtil");
|
||||
|
||||
private static final Color UNFOCUSED_SELECTION_COLOR = Gray._212;
|
||||
private static final Color ACTIVE_HEADER_COLOR = new Color(160, 186, 213);
|
||||
private static final Color INACTIVE_HEADER_COLOR = Gray._128;
|
||||
@@ -2436,6 +2435,10 @@ public class UIUtil {
|
||||
try {
|
||||
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
|
||||
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("LookAnfFeel: " + UIManager.getLookAndFeel(), new Throwable());
|
||||
}
|
||||
|
||||
if (ourSystemFontData == null) {
|
||||
Font font = getLabelFont();
|
||||
if (SystemInfo.isWindows) {
|
||||
|
||||
Reference in New Issue
Block a user