CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Roman Kennke <[EMAIL PROTECTED]> 05/10/19 12:57:33
Modified files: . : ChangeLog javax/swing : JComponent.java DebugGraphics.java Log message: 2005-10-19 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/DebugGraphics.java (counter): New field. (color): Removed unneeded field. (DebugGraphics()): Count up. (DebugGraphics(Graphics,JComponent)): Call this(Graphics). (DebugGraphics(Graphics)): Call this(). (setColor): Implemented logging facility. (create): Copy debugOptions over to new DebugGraphics instance. (create(int,int,int,int)): Likewise. (setFont): Implemented logging facility. (getColor): Return graphics.getColor(). (translate): Implemented logging facility. (setPaintMode): Likewise. (setXORMode): Likewise. (clipRect): Likewise. (setClip(int,int,int,int)): Likewise. (setClip(Shape)): Likewise. (drawRect): Likewise. Only flash when FLASH_OPTION is set. (fillRect): Likewise. (clearRect): Implemented logging facility. (drawRoundRect): Likewise. (fillRoundRect): Likewise. (drawLine): Likewise. (draw3DRect): Likewise. (fill3DRect): Likewise. (drawOval): Likewise. (fillOval): Likewise. (drawArc): Likewise. (fillArc): Likewise. (drawPolyline): Likewise. (drawPolygon): Likewise. (fillPolygon): Likewise. (drawString(String,int,int)): Likewise. (drawString(AttributedCharacterIterator,int,int)): Likewise. (drawByted): Likewise. (drawChars): Likewise. Only flash if FLASH_OPTION is set. (drawImage): Implemented logging facility. (Also applies to all overloaded versions of this method). (copyArea): Likewise. (setDebugOptions): Likewise. (prefix): New helper method. * javax/swing/JComponent.java (getComponentGraphics): Implemented to return DebugGraphics when needed. (getDebugGraphicsOptions): Implemented to return the correct options. Also, this loads a system property gnu.javax.swing.DebugGraphics if present and evaluates it. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5276&tr2=1.5277&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JComponent.java.diff?tr1=1.70&tr2=1.71&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/DebugGraphics.java.diff?tr1=1.7&tr2=1.8&r1=text&r2=text