In writing a typical JAVA GUI we often have to often provide certain functions that will never be used in the code to write a function call, What are the most common examples of such functions?
actionPerformed(ActionEvent e); : we will never class this method from our code.. this method automatically invoked when any of the button or other control is clicked or changed
itemStateChanged(ItemEvent e); we will never class this method from our code.. this method automatically invoked when any of check is checked or unchecked
keyPressed(KeyEvent e);
keyReleased(KeyEvent e);
keyTyped(KeyEvent e);
These key methods will be called when we press/release the keys
Note : If you like my answer please rate and help me it is very Imp for me
In writing a typical JAVA GUI we often have to often provide certain functions that will...