From 384486631a0ddf029be8ebef66e7bf5f8eb78c40 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 22 Sep 2009 21:19:49 +0000 Subject: [PATCH] * visual improvement for metal and windows classic laf --- .../net/sourceforge/filebot/ui/panel/sfv/ChecksumButton.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/net/sourceforge/filebot/ui/panel/sfv/ChecksumButton.java b/source/net/sourceforge/filebot/ui/panel/sfv/ChecksumButton.java index b411bf8f..84dffc8e 100644 --- a/source/net/sourceforge/filebot/ui/panel/sfv/ChecksumButton.java +++ b/source/net/sourceforge/filebot/ui/panel/sfv/ChecksumButton.java @@ -26,7 +26,7 @@ public class ChecksumButton extends JToggleButton { private static final Icon contentArea = ResourceManager.getIcon("button.checksum"); private static final Icon contentAreaSelected = ResourceManager.getIcon("button.checksum.selected"); - + public ChecksumButton(Action action) { super(action); @@ -37,6 +37,8 @@ public class ChecksumButton extends JToggleButton { setForeground(WHITE); setFont(new Font(DIALOG, PLAIN, 11)); + // as image button + setBorderPainted(false); setContentAreaFilled(false); setFocusPainted(false);