MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / updateTitle

Method updateTitle

src/test/Test_Event.java:595–600  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

593 }
594
595 protected void updateTitle() {
596 Component c = DefaultKeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner();
597
598 if(logging)System.out.println("Test_Editor focus owner is " + (c == null ? null : c.getClass().getName()));
599 setTitle((++n) + " " + (c == null ? null : c.getClass().getName()));
600 }
601
602}

Callers

nothing calls this directly

Calls 4

printlnMethod · 0.65
getNameMethod · 0.65
setTitleMethod · 0.65
getClassMethod · 0.45

Tested by

no test coverage detected