Why is "extends JFrame implements ActionListener" a bad design decision?
807580Dec 28 2009 — edited Dec 28 2009Hey,
I am studying Advanced Development in my final year at university, now revising for my exams. I have been given a set of questions to answer - one of them being the above question. Does anyone know the answer to this, or can someone point me in the right direction to find the answer? I think it has to do with the fact that all the variables / controls inside the JFrame are accessible to the action listener, but I am not entirely sure why.
Any help would be greatly appreciated.
Regards,
Richard