TheObserver
Programmer
I have a jPanel that I create numerous labels and jTextFields within. Later in the program's execution, I have need to set and retrieve data from the jTextFields I've created. Is there an index based way to reference the jTextFields that are within the jPanel?
They seem to have an index when I add them to the jPanel, but I don't know which method to use to pull a reference to a particular jTextField back out.
They are not uniquely named and don't really have a way of uniquely referencing them (unless I'm missing something), which is by design.
They seem to have an index when I add them to the jPanel, but I don't know which method to use to pull a reference to a particular jTextField back out.
They are not uniquely named and don't really have a way of uniquely referencing them (unless I'm missing something), which is by design.