Is there a Swing JList equivalent in Vaadin 11 ?

Hi,

I have an application where most entities can have tags/tokens. In the old version of the application, the Swing UI presented these tags with a JList. Is there an equivalent of the Swing JList in Vaadin 11 ?

Ideally, I would like to achieve something like this: https://vaadin.com/directory/component/advancedtokenfield-add-on but this addon is not compatible with Vaadin 11. So I would happily settle for any component able to display a subset of a known list.

++

S

Vaadin Combo Box is planned to get multi-select support eventually, which could end up being the component you need.

There’s a prototype implementation which you can try, if you’re not afraid of doing the client-server integration yourself: https://github.com/vaadin/vaadin-combo-box/issues/88#issuecomment-385338778

Actually, I forgot a community member packaged that propotype into a reusable component: https://www.webcomponents.org/element/selvinfehric/multi-select-combo-box

That should be much easier to package to be usable with Flow, using Webjars.

Hi Jouni

Thanks for taking the time to answer my question. Unfortunately, I have 0 experience in components integration.

To be on the safe side, I have decided to use Vaadin 8 instead since this version has all the addons I need.