Re: Repaint problems with JList/JScrollPane/JSplitPane

1998-12-08 Thread Catalin CLIMOV
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

Repaint problems with JList/JScrollPane/JSplitPane

1998-12-07 Thread Trieu Dang
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