> I implemented the listmodel so that the list can get events about any
> changes to the list. I also have a custom cellrenderer to provide
> checkboxes instead of just the Jlabels to the list. When ever anything
> changes with the list (contents for example) only the list is updated.
> Now the issue is that...sporadically, the list does not get rendered
> correctly.
It is unlikely that anyone will be able to figure out the problem from
this description. It would be a good idea to post a runnable example of
the problem.
> The scrollpane is lost even though i have all the items in the list.
How is it lost?
> only some of the items are visible on the screen. But the visible
> items are not click-able (!!??). they just dont take any events.
The component supplied by a renderer is not realized. It is only used by
the JList for rendering, so events will not occur on the renderer. If the
user clicks "on" the checkbox, he is actually clicking on the JList. In
order to get the checkbox to appear to work, you will need to:
1) Create a model that stores the "checked" state of the items in the list.
2) Recognize mouse events on the JList,
3) Modify the state of the model in response to the events.
4) Repaint the list cell when the model changes.

Signature
Regards,
John McGrath