Event « Container « Java Swing Q&A





1. Commands events or function calls between two containers    coderanch.com

> Suppose that we have a container... assuming your 'containers' are just JPanels etc, all that is needed is for the (e.g.) JComboBox to have the necessary scope i.e. for the actionListener in the other container to 'see' the comboBox simple demo if you comment out the 2 indicated lines, then uncomment the other line, it won't compile because the actionListen ...