posted 23 years ago
Hello All,
I am a little confused about how I can make a JList scrollable. I understand that I should create a JScrollPane and add the JList to it, but there must be more because I cannot make this work correctly. When I use the scrollbar to scroll down, I do not see all of the data in the JList. There must be something more that I should do. Can someone please take a look at this sample code and tell me what I need to do to see all of the data without making the JList bigger? Many thanks to you!!!