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?

0

Robert,

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

0

请先登录再写评论。