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

Method createDialog

src/swingjs/api/js/HTML5Video.java:321–321  ·  view source on GitHub ↗

Create a dialog that includes rudimentary controls. Optional maxWidth allows image downscaling by factors of two. @param parent @param source @param maxWidth @return

(Frame parent, Object source, int maxWidth,
			Function<HTML5Video, Void> whenReady)

Source from the content-addressed store, hash-verified

319 * @return
320 */
321 public static JDialog createDialog(Frame parent, Object source, int maxWidth,
322 Function<HTML5Video, Void> whenReady) {
323 return createDialog(parent, source, maxWidth, true, whenReady);
324 }

Callers 4

stateLoopMethod · 0.95
createDialogMethod · 0.95
printToServiceMethod · 0.65
chooseColorMethod · 0.65

Calls

no outgoing calls

Tested by 1

createDialogMethod · 0.76