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

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

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

revision 1.14 by mark, Sat Jul 2 20:32:50 2005 UTC revision 1.15 by rabbit78, Wed Aug 3 20:43:14 2005 UTC
# Line 160  public class BasicViewportUI extends Vie Line 160  public class BasicViewportUI extends Vie
160                             Rectangle viewBounds,                             Rectangle viewBounds,
161                             Rectangle portBounds)                             Rectangle portBounds)
162    {    {
163      Rectangle oldClip = g.getClipBounds ();      Rectangle oldClip = g.getClipBounds();
164      g.setClip (oldClip.intersection (viewBounds));      g.setClip(portBounds);
165      g.translate (-pos.x, -pos.y);      g.translate (-pos.x, -pos.y);
166      try      try
167        {          {  

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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