MCPcopy Index your code
hub / github.com/benfry/processing4 / rebuildExamplesFrame

Method rebuildExamplesFrame

app/src/processing/app/Mode.java:588–603  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

586
587
588 public void rebuildExamplesFrame() {
589 if (examplesFrame != null) {
590 boolean visible = examplesFrame.isVisible();
591 Rectangle bounds = null;
592 if (visible) {
593 bounds = examplesFrame.getBounds();
594 examplesFrame.setVisible(false);
595 examplesFrame.dispose();
596 }
597 examplesFrame = null;
598 if (visible) {
599 showExamplesFrame();
600 examplesFrame.setBounds(bounds);
601 }
602 }
603 }
604
605
606 public void showExamplesFrame() {

Callers 2

refreshContribsMethod · 0.80
rebuildSketchbookMethod · 0.80

Calls 4

showExamplesFrameMethod · 0.95
setVisibleMethod · 0.65
isVisibleMethod · 0.45
disposeMethod · 0.45

Tested by

no test coverage detected