hii, i m making an application in java swings, and i have 14 text fields on the form , my prob is how to access that fields in loop
actually i there names are like this jTextFields1,jTextFields2,jTextFields3,jTextFields4 … i want to access these controls in loop
as
for (i=1; i<5; i++)
{
String ff=“jTextFields”+$i;
ff.getText();
}
i know this loop will not work but just to desribe my needs i have written here , please help , i m stucked up here with this.