From 99370fd8712951eb84aae618ae0a74bba75a0da0 Mon Sep 17 00:00:00 2001 From: Sergey Malenkov Date: Fri, 26 Jun 2009 17:15:19 +0400 Subject: [PATCH] 6742850: Antialiasing for GTK L&F should be turned on by default if there is no embedded bitmap Reviewed-by: peterz --- .../classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java b/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java index 23e4ee2eee5..aeefca782c2 100644 --- a/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java +++ b/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved. + * Copyright 2002-2009 Sun Microsystems, Inc. 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 @@ -139,7 +139,7 @@ public class GTKLookAndFeel extends SynthLookAndFeel { }); isSunDesktop = val.booleanValue(); } - if (isSunDesktop) { + if (isSunDesktop && !sun.java2d.SunGraphicsEnvironment.isOpenSolaris) { isSunCJK = true; } }