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

Method loadVideo

src/test/Test_Video.java:252–263  ·  view source on GitHub ↗
(URL url)

Source from the content-addressed store, hash-verified

250 }
251
252 protected void loadVideo(URL url) {
253 Rectangle bounds = label.getBounds();
254 layerPane.remove(label);
255 createVideoLabel(null, url, null);
256 if (!isJS) {
257 return;
258 }
259 createDialog();
260 layerPane.add(label, JLayeredPane.DEFAULT_LAYER);
261 label.setBounds(bounds);
262 label.setVisible(true);
263 }
264
265 protected void loadVideo(File file) {
266 Rectangle bounds = label.getBounds();

Callers 1

importDataMethod · 0.80

Calls 7

createVideoLabelMethod · 0.95
createDialogMethod · 0.95
removeMethod · 0.65
setVisibleMethod · 0.65
getBoundsMethod · 0.45
addMethod · 0.45
setBoundsMethod · 0.45

Tested by

no test coverage detected