MCPcopy Index your code
hub / github.com/adolfintel/NoteBot / windowLostFocus

Method windowLostFocus

StickyNotes/src/com/dosse/stickynotes/Note.java:240–244  ·  view source on GitHub ↗
(WindowEvent e)

Source from the content-addressed store, hash-verified

238 });
239 addWindowFocusListener(new WindowAdapter() {
240 @Override
241 public void windowLostFocus(WindowEvent e) {
242 //if focus is lost, save the current state
243 Main.saveState();
244 }
245
246 @Override
247 public void windowGainedFocus(WindowEvent e) {

Callers

nothing calls this directly

Calls 1

saveStateMethod · 0.95

Tested by

no test coverage detected