Variable for object refference?
I have a program that deals with cells. A cell is an object that contains a list of words. I wanted to create a GUI for my program so I went ahead and designed one. My GUI allows the user to click a "create new cell" button to create one instance of the cell. My question is how can I get the user to name the object reference to that cell? example:
Code:
Cell USER DEFINED VARIABLE = new Cell (int);
Is there another way to create a new functionality?
Thanks in advance.