Parent Directory | Revision Log | Patch
revision 1.14 by trebligd, Wed Sep 14 11:54:08 2005 UTC | revision 1.15 by trebligd, Fri Sep 16 09:19:02 2005 UTC | |
---|---|---|
# | Line 832 public class MetalIconFactory implements | Line 832 public class MetalIconFactory implements |
832 | ||
833 | if (b.isSelected()) | if (b.isSelected()) |
834 | { | { |
835 | g.setColor(MetalLookAndFeel.getBlack()); | if (b.isEnabled()) |
836 | g.setColor(MetalLookAndFeel.getBlack()); | |
837 | else | |
838 | g.setColor(MetalLookAndFeel.getControlDisabled()); | |
839 | g.drawLine(x + 4, y + 3, x + 7, y + 3); | g.drawLine(x + 4, y + 3, x + 7, y + 3); |
840 | g.fillRect(x + 3, y + 4, 6, 4); | g.fillRect(x + 3, y + 4, 6, 4); |
841 | g.drawLine(x + 4, y + 8, x + 7, y + 8); | g.drawLine(x + 4, y + 8, x + 7, y + 8); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |