/[classpath]/classpath/javax/swing/SwingUtilities.java
ViewVC logotype

Diff of /classpath/javax/swing/SwingUtilities.java

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

revision 1.36 by rabbit78, Fri Sep 23 08:53:56 2005 UTC revision 1.37 by rabbit78, Fri Sep 23 20:30:59 2005 UTC
# Line 891  public class SwingUtilities Line 891  public class SwingUtilities
891          textR.y = (horizontalTextPosition == CENTER          textR.y = (horizontalTextPosition == CENTER
892                     ? iconR.height + textIconGap                     ? iconR.height + textIconGap
893                     : Math.max(iconR.height - textR.height, 0));                     : Math.max(iconR.height - textR.height, 0));
         System.err.println("iconR.height: " + iconR.height);  
         System.err.println("textR.height: " + textR.height);  
894          break;          break;
895        case CENTER:        case CENTER:
896          int centerLine = Math.max(textR.height, iconR.height) / 2;          int centerLine = Math.max(textR.height, iconR.height) / 2;

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

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