MCPcopy Create free account
hub / github.com/GateNLP/gate-core / run

Method run

src/main/java/gate/gui/MainFrame.java:483–493  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

481 // put the focus on the new tab
482 SwingUtilities.invokeLater(new Runnable() {
483 @Override
484 public void run() {
485 if (largeView != null) {
486 if ((largeView instanceof JTabbedPane)
487 && (((JTabbedPane)largeView).getSelectedComponent() != null)) {
488 ((JTabbedPane)largeView).getSelectedComponent().requestFocus();
489 } else {
490 largeView.requestFocus();
491 }
492 }
493 }
494 });
495 }
496 }

Callers

nothing calls this directly

Calls 15

addProgressListenerMethod · 0.95
addStatusListenerMethod · 0.95
viewsBuiltMethod · 0.95
getLargeViewMethod · 0.95
getSmallViewMethod · 0.95
cleanupMethod · 0.95
viewsBuiltMethod · 0.95
getLargeViewMethod · 0.95
getSmallViewMethod · 0.95
findHandleForResourceMethod · 0.95
getGuiRootsMethod · 0.95
requestFocusMethod · 0.80

Tested by

no test coverage detected