1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 00:08:51 -05:00

* visual improvement for metal and windows classic laf

This commit is contained in:
Reinhard Pointner 2009-09-22 21:19:49 +00:00
parent 9be7101759
commit 384486631a

View File

@ -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);