org.fest.swing.exception.ComponentLookupException: Found more than one component using matcher org.fest.swing.core.TypeMatcher[type=javax.swing.JButton, requireShowing=false]. Found: javax.swing.JButton[name='first', text='First Button', enabled=true] javax.swing.JButton[name='second', text='Second Button', enabled=true]

jroller.com | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Alex Ruiz's Weblog

    jroller.com | 7 months ago
    org.fest.swing.exception.ComponentLookupException: Found more than one component using matcher org.fest.swing.core.TypeMatcher[type=javax.swing.JButton, requireShowing=false]. Found: javax.swing.JButton[name='first', text='First Button', enabled=true] javax.swing.JButton[name='second', text='Second Button', enabled=true]

    Root Cause Analysis

    1. org.fest.swing.exception.ComponentLookupException

      Found more than one component using matcher org.fest.swing.core.TypeMatcher[type=javax.swing.JButton, requireShowing=false]. Found: javax.swing.JButton[name='first', text='First Button', enabled=true] javax.swing.JButton[name='second', text='Second Button', enabled=true]

      at org.fest.swing.core.BasicComponentFinder.multipleComponentsFound()
    2. FEST Swing
      BasicComponentFinder.multipleComponentsFound
      1. org.fest.swing.core.BasicComponentFinder.multipleComponentsFound(BasicComponentFinder.java:102)
      1 frame