[cp-patches] [Patch][gui] java.awt.dnd.DropTarget

Michael Koch konqueror@gmx.de
Thu Jan 27 21:07:00 GMT 2005


Am Donnerstag, 27. Januar 2005 21:35 schrieb Mark Wielaard:
> Hi,
>
> On Thu, 2005-01-27 at 20:19 +0100, Michael Koch wrote:
> > 2005-01-27  Graydon Hoare  <graydon@redhat.com>
> >
> >  * java/awt/dnd/DropTarget.java
> >  (addDropTargetListener): Despite documentation, do not throw.
> >  * javax/swing/JComponent.java: Set a default DropTarget.
> > [...]
> > @@ -870,6 +872,9 @@
> >     */
> >    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());
>
> Was this last hunk supposed to be in this patch?

Thanks for catching this. This happens when you have different trees 
with different patches applied ... I reverted this.


Michael
-- 
Homepage: http://www.worldforge.org/



More information about the Java-patches mailing list