Try also a myList.revalidate() also. It works.
Catalin CLIMOV.
Trieu Dang wrote:
> Hi,
> My application uses a JSplitPane in which the top and bottom components
> are JScrollPane. The bottom scrollpane contains a JList. My list changes
> depending on the user's actions so I have to use setListD
Hi,
My application uses a JSplitPane in which the top and bottom components
are JScrollPane. The bottom scrollpane contains a JList. My list changes
depending on the user's actions so I have to use setListData, which must
be followed by repaint(), otherwise the data wouldn't change.
e.g.
myList.s