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

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

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

revision 1.2 by trebligd, Mon Sep 12 23:04:55 2005 UTC revision 1.3 by rabbit78, Wed Sep 28 12:58:02 2005 UTC
# Line 348  public class MetalInternalFrameTitlePane Line 348  public class MetalInternalFrameTitlePane
348      Rectangle b = SwingUtilities.getLocalBounds(this);      Rectangle b = SwingUtilities.getLocalBounds(this);
349      g.setColor(MetalLookAndFeel.getPrimaryControlShadow());      g.setColor(MetalLookAndFeel.getPrimaryControlShadow());
350      g.fillRect(b.x, b.y, b.width, b.height);      g.fillRect(b.x, b.y, b.width, b.height);
351      MetalUtils.fillMetalPattern(g, b.x + 4, b.y + 2, b.width      MetalUtils.fillMetalPattern(this, g, b.x + 4, b.y + 2, b.width
352              - paletteCloseIcon.getIconWidth() - 13, b.height - 5,              - paletteCloseIcon.getIconWidth() - 13, b.height - 5,
353              MetalLookAndFeel.getPrimaryControlHighlight(),              MetalLookAndFeel.getPrimaryControlHighlight(),
354              MetalLookAndFeel.getBlack());              MetalLookAndFeel.getBlack());
# Line 399  public class MetalInternalFrameTitlePane Line 399  public class MetalInternalFrameTitlePane
399            endX = Math.max(closeButton.getX(), endX);            endX = Math.max(closeButton.getX(), endX);
400          endX -= 7;          endX -= 7;
401          if (endX > startX)          if (endX > startX)
402            MetalUtils.fillMetalPattern(g, startX, 3, endX - startX, getHeight() - 6, Color.white, Color.gray);            MetalUtils.fillMetalPattern(this, g, startX, 3, endX - startX, getHeight() - 6, Color.white, Color.gray);
403        }        }
404      g.setColor(savedColor);      g.setColor(savedColor);
405    }    }

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

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