paul beppe wrote:getPlayList2() return one file from database....
There are several ways but to keep it simple, populate the getPlayList2() into an array. Now you will also need to loop through the database to while populating your array. Once you have this array your JList is self explanatory.
You may also want to explore ListModel, which if defined properly should give you more control of your data.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com