I am using javaswing. I have an arrayList. I need to populate a listbox with data in the arrayList. The data in arrayList is dynamic. Can somebody help me in this?
Sorry for posting a simple one... Got the answer. It is toArray method which converts the list to array and using Listdata method, we can set the array of items into the listbox.