JList with custom renderer
Posted
by
AhmadAssaf
on Stack Overflow
See other posts from Stack Overflow
or by AhmadAssaf
Published on 2011-01-06T15:12:59Z
Indexed on
2011/01/06
15:53 UTC
Read the original article
Hit count: 242
Hello,
I have a JList that shows multiple JPanels on them , i have created a custom renderer that returns a new JPanel. The JPanels are displayed in the JList but they are not accessible, i cant select them and if i have a button or a text area in it i can not press it. I want to try if this works in a JList because i want to do further pagination. I managed to get it work by adding panels to a Jscroll pane, but would love to make the JList thing work.
Thanks
© Stack Overflow or respective owner