This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]