public void actionPerformed(ActionEvent e){
int numbers [] = new int [10]; // creating array of 10 elements. for(int count=0; count