MCPcopy Index your code
hub / github.com/OpenSourcePhysics/osp / createDialog

Method createDialog

src/test/Test_Video.java:176–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174 }
175
176 private void createDialog() {
177 if (dialog != null) {
178 dialog.dispose();
179 }
180 dialog = HTML5Video.createDialog(null, label, 500, new Function<HTML5Video, Void>() {
181
182 @Override
183 public Void apply(HTML5Video video) {
184 dialog.setVisible(true);
185 return null;
186 }
187
188 });
189 }
190
191 JLabel label = new JLabel((String) null);
192 private void createVideoLabel(File file, URL videoURL, String video) {

Callers 2

Test_VideoMethod · 0.95
loadVideoMethod · 0.95

Calls 2

createDialogMethod · 0.95
disposeMethod · 0.65

Tested by

no test coverage detected