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

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

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

revision 1.85 by abalkiss, Tue Nov 15 21:49:32 2005 UTC revision 1.86 by rabbit78, Tue Nov 15 23:07:23 2005 UTC
# Line 1918  public abstract class JComponent extends Line 1918  public abstract class JComponent extends
1918      g2 = getComponentGraphics(g2);      g2 = getComponentGraphics(g2);
1919      g2.setClip(r.x, r.y, r.width, r.height);      g2.setClip(r.x, r.y, r.width, r.height);
1920      isPaintingDoubleBuffered = true;      isPaintingDoubleBuffered = true;
1921      paint(g2);      try
1922      isPaintingDoubleBuffered = false;        {
1923      g2.dispose();          paint(g2);
1924          }
1925        finally
1926          {
1927            isPaintingDoubleBuffered = false;
1928            g2.dispose();
1929          }
1930            
1931      // Paint the buffer contents on screen.      // Paint the buffer contents on screen.
1932      g.drawImage(buffer, 0, 0, this);      g.drawImage(buffer, 0, 0, this);

Legend:
Removed from v.1.85  
changed lines
  Added in v.1.86

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