Line | |
---|
1 | import java.awt.Canvas;
|
---|
2 | import java.awt.Dimension;
|
---|
3 |
|
---|
4 | import javax.swing.JFileChooser;
|
---|
5 | import javax.swing.JFrame;
|
---|
6 | import javax.swing.JPanel;
|
---|
7 | import javax.swing.JSlider;
|
---|
8 | import javax.swing.event.ChangeEvent;
|
---|
9 | import javax.swing.event.ChangeListener;
|
---|
10 |
|
---|
11 | import uk.co.caprica.vlcj.player.*;
|
---|
12 |
|
---|
13 |
|
---|
14 | public class videotest {
|
---|
15 |
|
---|
16 | /**
|
---|
17 | * @param args
|
---|
18 | */
|
---|
19 | public static void main(String[] args) {
|
---|
20 | JFrame window = new JFrame("video test");
|
---|
21 | window.setSize(new Dimension(600,600));
|
---|
22 | window.setVisible(true);
|
---|
23 | SimpleVideoPlayer sVP = new SimpleVideoPlayer(window);
|
---|
24 | window.add(sVP);
|
---|
25 | window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
---|
26 |
|
---|
27 | }
|
---|
28 |
|
---|
29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.