Reputation: 995
I got small problem when I add element to JList it resize itself. I think it should add scroll bar to it and stay in default size. Can anyone help me with this?
I got JScrollPane -> JList
Upvotes: 2
Views: 667
Reputation: 995
OK Problem solved i have to set Loyout to absolute and now all is ok thx Andrew for hint
Upvotes: 1
Reputation: 109815
Not clear for me what did you meant about resize/non_resiziable, I think that you have to read tutorial about JList, example there included implementations for JScrollPane
Upvotes: 2