(WindowClosing) when i am using window event for closing current frame, in that it asked import all abstract methods.. How to import windowClosing event without import all sbstract methods?
(WindowClosing) when i am using window event for closing current frame, in that it
Share
You want to use a WindowAdapter instead of a WindowListener. WindowAdapter is abstract but has no abstract methods (it implements them with empty methods) so that you only override the methods you actually want to work with.