JBList with dynamic cell height


Hi there I'm trying achieve list of panels where are placed different information such as username or version and text which length is not  strictly given.

For placing text I use JTextArea unfortunate when I use customized cellrenderer (or ColoredListCellRenderer) results are not as expected.

Has someone experience how to solve this?

1 comment


It's hard to answer your question having no details regarding the implementation. However, you may check the intellij-community repository for some examples of JBList with cellRenderer: https://github.com/JetBrains/intellij-community/search?q=JBList+cellrenderer


Please sign in to leave a comment.