(URL url)
| 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(); |
no test coverage detected