Swing is an extension library to the AWT, includes new and improved components that enhance the look and functionality of GUIs. Swing can be used to build Standalone swing gui Apps as well as Servlets ...
How To Clear/Reset Input Field On Button Click Java Jframe Swing Tutorial - Netbeans More details - http://mauricemuteti.info/how-to-clear-input-field-on-button-click ...