Drawing and Java2D
Drawing and Java2D
Drawing and Java2D
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
WindowAdapter class Implementing the WindowListener interfacemeans needing to implement all itsmethods, even if you don't need them WindowAdapter is an abstract superclassthat implements WindowListener <strong>and</strong>provides default blank bodies for themethods Subclass WindowAdapter <strong>and</strong> override justthe ones you need: class WinEvents extends WindowAdapter {public void windowClosed( WindowEvent e ) {CMPT166: drawing <strong>and</strong> <strong>Java2D</strong> 15 Feb 20118