classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches]: Patch: JTree clicking


From: Lillian Angel
Subject: Re: [cp-patches]: Patch: JTree clicking
Date: Wed, 20 Jul 2005 14:25:59 -0400

I fixed this already. This was a temporary patch to get things working
at the time. It works really well now, without the constants.

On Wed, 2005-07-20 at 14:08 -0400, Thomas Fitzsimmons wrote:
> Hi,
> 
> On Fri, 2005-07-15 at 13:35 -0400, Lillian Angel wrote:
> 
> > +         Rectangle bounds = BasicTreeUI.this.getCellBounds(x, y,
> > cell);
> > +         if ((clickY >= (y - 10) && clickY <= (y + bounds.height +
> > 10))
> > +               && (clickX >= x && clickX <= (x + bounds.width + 25)))
> 
> Where do these constants come from?  Shouldn't they be calculated based
> on the cell's bounds?
> 
> Tom
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]