1. Can a button trigger the windowevent? Can a button trigger MouseEvent? Can a button trigger ActionEvent?
JButton can produce mouseevent and ActionEvent. Cannot trigger WindowEvent
2. Can a single source have multiple listeners? Can a listener have multiple sources? Can a listener make its own listener?
YES. YES. YES
3. Can internal classes be used in other classes that are not nested in him?
Objects of an inner class is often created in the outer class. But the can also create an object of a inner class from another class. If the inner class is nonstatic, you must first create a instance of the outer class, then use the following syntax to CR Eate an object for the inner class:
Outerclass.innerclass innerobject = Outerobject.new innerclass ();
If the inner class is static, use the following syntax to create a object for it:
Outerclass.innerclass innerobject = new Outerclass.innerclass ();
"Fundamentals of Java language Programming"--event-driven programming--several issues