In Netbeans: I have add 4 JLabel in one pane of JFrame:

I have create an array of JLabel:
private JLabel[] myLab = new JLabel[]{};
Please, I want to now, it's possible to make this JLabels (jLabel1, jLabel2, jLabel3, jLabel4) in one array, for call in program with MyLab[0], MyLab[ 1], MyLab[2], MyLab[3]?
ArrayListthough. Can you show us what code you have attempted? Do you know what aforloop is?