/[classpath]/classpath/javax/swing/plaf/metal/MetalScrollButton.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/metal/MetalScrollButton.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by trebligd, Thu Sep 8 08:58:48 2005 UTC revision 1.2 by trebligd, Mon Oct 24 20:30:54 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package javax.swing.plaf.metal;  package javax.swing.plaf.metal;
40    
41    import java.awt.Color;
42  import java.awt.Dimension;  import java.awt.Dimension;
43  import java.awt.Graphics;  import java.awt.Graphics;
44  import java.awt.Rectangle;  import java.awt.Rectangle;
# Line 206  public class MetalScrollButton extends B Line 207  public class MetalScrollButton extends B
207          g.drawLine(w - 2, 2, w - 2, h - 1);          g.drawLine(w - 2, 2, w - 2, h - 1);
208                    
209          g.setColor(MetalLookAndFeel.getControlHighlight());          g.setColor(MetalLookAndFeel.getControlHighlight());
210          g.drawLine(1, 1, 1, h - 1);          g.drawLine(1, 1, 1, h - 2);
211          g.drawLine(1, 1, w - 1, 1);          g.drawLine(1, 1, w - 3, 1);
212          g.drawLine(w - 1, 1, w - 1, h - 1);          g.drawLine(w - 1, 1, w - 1, h - 1);
213                
214          g.setColor(MetalLookAndFeel.getControl());          g.setColor(MetalLookAndFeel.getControl());
215          g.drawLine(1, h - 1, 1, h - 1);          g.drawLine(1, h - 1, 1, h - 1);
216          g.drawLine(w - 1, 1, w - 1, 1);          g.drawLine(w - 2, 1, w - 2, 1);
217        }        }
218      else      else
219        {        {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26