<AWT Dev>  Review request for 8171808: Performance problems in dialogs with large tables when JAB activated
sergey.bylokhov at oracle.com
Thu Feb 23 22:08:54 UTC 2017
Why we call invokeAndWait() so many times in the new method?
I guess we can do some work on EDT in one step then we will speedup the code when the size of the table is huge and it has lots of visible items.
> Hi all,
> Could you please review the fix:
> for the following issue:
> When JAWS asks java how many visible elements in the frame are,
> java goes through the whole tree of component and asks each whether it visible or not.
> During this java creates accessContext for each element, so this requires to get data from model.
> So if user uses lazy loading or model is large, this counting makes app to freeze.
> I reduced the number of components that should be checked for visibility,
> if we get to a row that is invisible, there's no sense to check next rows, the same for columns.
More information about the awt-dev