Is there a possibility to force JLists
to display all items on one line? setOrientationLayout()
does not give you that option.
Asked
Active
Viewed 239 times
1 Answers
4
list.setLayoutOrientation(JList.HORIZONTAL_WRAP);
list.setVisibleRowCount(1);

camickr
- 321,443
- 19
- 166
- 288
-
Ah, just what I was after. Thank you very much indeed! – s.d Aug 22 '11 at 19:55