jenh wrote:
I'm working with ComponentTest from the Visual Library examples. It creates a ComponentWidget using a JList. What I would like to do is add a new string to the JList upon some action. I tried this and the JList does get updated, but the component is not resized to display all the items in my list. I tried repaint, revalidate, etc but nothing seems to work. Any idea what I need to do to get all the items in the JList to display?
Probably update the *widget's* preferred size.
-Tim