Java swing, adding array list to a component -
I want to do something like
ArrayList & lt; String & gt; Users; Zeppel panel; Panel.add (user);
But this is not legal because the zenith can not take the extras or strings, but rather a component should be taken. So I tried to figure out if there is a component that would take a string or better, an array list, is it possible, or is there a better way to do this?
Comments
Post a Comment