MCPcopy Index your code
hub / github.com/processing/processing / rebuildExamplesFrame

Method rebuildExamplesFrame

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

Source from the content-addressed store, hash-verified

657
658
659 public void rebuildExamplesFrame() {
660 if (examplesFrame != null) {
661 boolean visible = examplesFrame.isVisible();
662 Rectangle bounds = null;
663 if (visible) {
664 bounds = examplesFrame.getBounds();
665 examplesFrame.setVisible(false);
666 examplesFrame.dispose();
667 }
668 examplesFrame = null;
669 if (visible) {
670 showExamplesFrame();
671 examplesFrame.setBounds(bounds);
672 }
673 }
674 }
675
676
677 public void showExamplesFrame() {

Callers 2

refreshContribsMethod · 0.80

Calls 4

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

Tested by

no test coverage detected