Dynamically generated object names!
Posted on 2011-10-31
I would like to create a series of auto-generating variable names that can be used to instantaite object depending on an ArrayList size! For example if I want to creat a series jTextArea based on the number of a certain ArrayList, the I would be creating ArrayList.size() number of jTextAreas like
JTextArea jTextArea( i ) = new JTextArea();
How would I be able to do that??!