bug-classpath
[Top][All Lists]
Advanced

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

[Bug awt/26627] getComponentAt should not ignore invisible children


From: langel at redhat dot com
Subject: [Bug awt/26627] getComponentAt should not ignore invisible children
Date: 15 Mar 2006 15:44:54 -0000


------- Comment #6 from langel at redhat dot com  2006-03-15 15:44 -------
Sure, but the API says that Container.findComponentAt should ignore invisible
children. Also, Container.findComponentForMouseEventAt is a package-private
function that is never used anywhere (so, i will remove this). I will add tests
for Container.getComponentAt (locate).

(In reply to comment #3)
> The attached patch fixes the problem.  Lillian, can you write test cases for
> Container.locate, Container.findComponentAt and
> Container.findComponentForMouseEventAt to confirm that these lines should be
> removed:
> 
>             // Ignore invisible children...
>             if (!component[i].isVisible())
>               continue;
> 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26627





reply via email to

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