diff options
author | Yana Stamcheva <yana@jitsi.org> | 2012-10-02 14:15:55 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2012-10-02 14:15:55 +0000 |
commit | cac9618f9b412c81cfd2ecffe3f05e4fe4e27972 (patch) | |
tree | ef3bbf44336f830f3d60ed3fe03660bc0c122c10 /src/net/java/sip/communicator/util | |
parent | d67e969a0afd2d97c162a1ca9f446815887574e4 (diff) | |
download | jitsi-cac9618f9b412c81cfd2ecffe3f05e4fe4e27972.zip jitsi-cac9618f9b412c81cfd2ecffe3f05e4fe4e27972.tar.gz jitsi-cac9618f9b412c81cfd2ecffe3f05e4fe4e27972.tar.bz2 |
Antialiases tab names on Windows and Linux.
Diffstat (limited to 'src/net/java/sip/communicator/util')
-rw-r--r-- | src/net/java/sip/communicator/util/swing/plaf/SIPCommTabbedPaneUI.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/util/swing/plaf/SIPCommTabbedPaneUI.java b/src/net/java/sip/communicator/util/swing/plaf/SIPCommTabbedPaneUI.java index f1c9bb1..91462c2 100644 --- a/src/net/java/sip/communicator/util/swing/plaf/SIPCommTabbedPaneUI.java +++ b/src/net/java/sip/communicator/util/swing/plaf/SIPCommTabbedPaneUI.java @@ -641,6 +641,8 @@ public class SIPCommTabbedPaneUI { g2 = (Graphics2D) g; + AntialiasingManager.activateAntialiasing(g2); + // Render visual for cropped tab edge... Rectangle viewRect = tabScroller.viewport.getViewRect(); int cropline; @@ -660,7 +662,6 @@ public class SIPCommTabbedPaneUI save = g2.getClip(); g2.clipRect(tabRect.x, tabRect.y, tabRect.width, tabRect.height); - } } |