You can't create members dynamically in Java (you can access them dynamically via reflection, but there's no need for it here).
Rather than having
public javax.swing.JPanel BenderPanel1;
public javax.swing.JPanel BenderPanel2;
public javax.swing.JPanel BenderPanel3;
have
public javax.swing.JPanel[] BenderPanels;
or
public List<javax.swing.JPanel> BenderPanels;
Then you can loop through them with an enhanced for
loop.
for (javax.swing.JPanel panel : BenderPanels) {
// ...
}