Please prove all the correct answer with some code example :
1. What is the purpose of an event listener?
2. What is an event handler?
3. Can you display GUI elements in a window?
4. What is the purpose of a content pane?
5. How do you place a content pane in a container?
6. What is the purpose of a layout manager?