the easiest way is to declare Object[] array if you have different kinds of controls (if all are JLabel there is no problem ,simply declase JLabel[] ), and each time you need to use a method, you first check if current element is of the class you wish to use like:
if(myArray[i].getClass().equals(JLabel.getClass()) )
//do what you want