[Patch][gui] JComponent.getComponentGraphics()
Michael Koch
konqueror@gmx.de
Thu Jan 27 21:08:00 GMT 2005
Hi list,
I just reverted a part of my last patch that I don't wanted to apply
yet.
Michael
2005-01-27 Michael Koch <konqueror@gmx.de>
* javax/swing/JComponent.java (getComponentGraphics):
Removed accidently commited code.
-------------- next part --------------
Index: javax/swing/JComponent.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/JComponent.java,v
retrieving revision 1.7.2.28
diff -u -r1.7.2.28 JComponent.java
--- javax/swing/JComponent.java 27 Jan 2005 19:15:08 -0000 1.7.2.28
+++ javax/swing/JComponent.java 27 Jan 2005 21:05:35 -0000
@@ -872,9 +872,6 @@
*/
protected Graphics getComponentGraphics(Graphics g)
{
- if (debugGraphicsOptions != DebugGraphics.NONE_OPTION)
- g = new DebugGraphics(g, this);
-
Graphics g2 = g.create();
g2.setFont(this.getFont());
g2.setColor(this.getForeground());
More information about the Java-patches
mailing list