On Thu, 6 Nov 2025 01:10:48 GMT, Harshitha Onkar <[email protected]> wrote:
>> `findComponent(final Container container, final Predicate<Component> >> predicate)` is a useful utility method and thus added to` >> javax/swing/regtesthelpers/Util.java` instead of having redundant code in >> tests. It can be used to find a component by label name. >> >> PS: Existing `Util.findSubComponent()` finds component by class name but >> `findComponent()` can be used to search for a particular component by label >> name/title when there are multiple subcomponents of same type by applying a >> predicate logic. > > Harshitha Onkar has updated the pull request incrementally with one > additional commit since the last revision: > > spacing Marked as reviewed by aivanov (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/27944#pullrequestreview-3428110026
