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

Mark Wielaard mark@klomp.org
Thu Jan 27 20:38:00 GMT 2005


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?

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050127/a0c4b0d7/attachment.sig>


More information about the Java-patches mailing list