Use arraylist to fill a JTable in java
I have been reading tutorials and I am still not sure so I will ask here. Is it possible to have a JTable with 2 columns where column 1 displays contents of an arraylist and column 2 displays numbers up to the size of the arraylist?. I have looked at tutorials but they dont really mention arraylists, so any sample codes or direction would be helpful. Thanks
Use arraylist to fill a JTable in java
===

I have been reading tutorials and I am still not sure so I will ask here. Is it possible to have a JTable with 2 columns where column 1 displays contents of an arraylist and column 2 displays numbers up to the size of the arraylist?. I have looked at tutorials but they dont really mention arraylists, so any sample codes or direction would be helpful. Thanks