bug-classpath
[Top][All Lists]
Advanced

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

[Bug swing/24022] JTree - BasicTreeUI.paint throws AssertionError with J


From: langel at redhat dot com
Subject: [Bug swing/24022] JTree - BasicTreeUI.paint throws AssertionError with JUMP
Date: 23 Sep 2005 20:38:45 -0000

------- Additional Comments From langel at redhat dot com  2005-09-23 20:38 
-------
Subject: Re:  JTree - BasicTreeUI.paint throws
        AssertionError with JUMP

------- Additional Comments From WBaer at gmx dot de  2005-09-23 20:34 -------
> Hi Lillian,
> 
> thanks for your try. I am sorry that I cannot provide you with a small 
> testcase.
> JTree is really good implemented these days and therefore the areas we will
> see bugs now are not wrappable in small testcases.
> 
> I get one more NPE in BasicTreeUI which I fixed with the following patch.
> g.getClipBounds() is allowed to return null.
> 
> This brings the application one step closer as now I get an exception
> in awt gtk code that an operation is not implemented. I will file 
> another bug about this one.
> 
> If you are OK with my NPE fix - please commit it.

I committed a similar fix earlier today. 
This is what I did:
Rectangle clip = tree.getVisibleRect(); Which never returns null.

thanks for your testing!
If you ever have problems with JTree/BasicTreeUI, please let me know
since I have been solely responsible for it.

Lillian



-- 


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




reply via email to

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