Q16. What method would you use, in order to simulate a button’s (namely OKBtn) click event, without any mouse activity from user’s side?
Q17.Which condition (related to container controls) every Swing GUI application must fulfill?
Ans. Every Swing GUI application must have at least one top-level container.