()
| 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) { |
no test coverage detected