understand that for below code:
JTextField field1 = new JTextField();
field1 will not be stored inside the class file, but only at source code file.
Then how could I identify this object at runtime? In other words, is there any way to give id to "field1" object that can be read at runtime by other codes (since the reference name "field1", will not be stored at runtime)
Or should I override JTextField into a new class and create a new attributes for id? Is there any for the existing JTextField?
Thanks & regards.