637638639640641642643
* @throws LocationUnavailableException if an element matching the given value cannot be found. * @since 1.2 */ @RunsInEDT public JPopupMenu showPopupMenu(JList list, Pattern pattern) { return showPopupMenu(list, new PatternTextMatcher(pattern)); }
705706707708709710711
* @throws NullPointerException if the given regular expression pattern is <code>null</code>. * @since 1.2 */ @RunsInEDT public int indexOf(JList list, Pattern pattern) { return indexOf(list, new PatternTextMatcher(pattern)); }