can I use a JButton array as a parameter in a method used by another class?
I want to bring the JButton array, which happens to have Jbuttons as the values within the array to another class file using addActionListener... but when I try, it won't work... whether I use...
buttons.addActionListener(listener);
or
buttons[].addActionListener(listener);
I want to bring the JButton array, which happens to have Jbuttons as the values within the array to another class file using addActionListener... but when I try, it won't work... whether I use...
buttons.addActionListener(listener);
or
buttons[].addActionListener(listener);