Question
(a) Illustrate how components listed below should be registered in a program:-
(i) JButton
(ii) JComboBox
(b) Clarify how a 'JTextField' component be able to respond to a user without use of a button. Indicate clearly all the essential steps to be performed in your answer.
(c)(i) What is Java adapter class?
(ii) What is principle of an adapter class when used in a program? Use a proper example to illustrate your answer.