scroll/search JList when user starts typing
Posted
by alex
on Stack Overflow
See other posts from Stack Overflow
or by alex
Published on 2010-03-30T12:24:46Z
Indexed on
2010/03/30
13:03 UTC
Read the original article
Hit count: 342
I would like to implement one of the fanciest features I every now and then. I would like to allow a user to click on a JList and if words are typed, do a query and advance the caret to the next match (prefix). Is there and example of such an implementation in Java somewhere? I'm thinking a combination of key listeners, getNextMatch() and setSelectValue().
© Stack Overflow or respective owner