I have less experience with Java Swing and I want to create a dynamic list where for each element must be specified 2 parameters.
I have n elements, where the number n isn’t known and depends on others procedures…
I want that for the n elements, a swing GUI shows n lines where each line on the left has 2 box for setting parameters String id and int time.
How about using a JTable with two columns, one for each data value?
There’s a good tutorial on using tables at: http://docs.oracle.com/javase/tutorial/uiswing/components/table.html