I have a simple problem which totally drives me crazy.
I have a JList, and would like its cells to expand depending on their content, which is text of variable lengt
Try using JList's setFixedCellHeight() method.