/[classpath]/classpath/javax/swing/plaf/basic/BasicMenuItemUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicMenuItemUI.java

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

revision 1.25 by langel, Thu Sep 22 19:06:14 2005 UTC revision 1.26 by trebligd, Thu Sep 29 08:53:11 2005 UTC
# Line 572  public class BasicMenuItemUI extends Men Line 572  public class BasicMenuItemUI extends Men
572            {            {
573              int width = arrowIcon.getIconWidth();              int width = arrowIcon.getIconWidth();
574              int height = arrowIcon.getIconHeight();              int height = arrowIcon.getIconHeight();
575                int offset = (vr.height - height) / 2;
576              arrowIcon.paintIcon(m, g, vr.width - width + defaultTextIconGap,              arrowIcon.paintIcon(m, g, vr.width - width, vr.y + offset);
                                 vr.y + 2);  
577            }            }
578        }        }
579    

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

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