I have multiple JTables, and I want to create an array where it stores:
a) An index
b) A "pointer" to a certain JTable. I'm used to solving it this way from C++, but I'm new to Java.
Basically, instead of having an array of indeces for JTable1, one for JTable2, JTable3, and so on (since there will be a lot of these tables), I want to have just one big map linking an index to a JTable. I don't see how I could do this without pointers.