Ignore:
Timestamp:
2010-05-30T19:59:11+02:00 (15 years ago)
Author:
guardian
Message:

followPath and Video

Location:
applications/editors/josm/plugins/videomapping/test
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/videomapping/test/videotest.java

    r21295 r21519  
     1import java.awt.Canvas;
     2import java.awt.Dimension;
     3
     4import javax.swing.JFileChooser;
     5import javax.swing.JFrame;
     6import javax.swing.JPanel;
     7import javax.swing.JSlider;
     8import javax.swing.event.ChangeEvent;
     9import javax.swing.event.ChangeListener;
     10
     11import uk.co.caprica.vlcj.player.*;
     12
    113
    214public class videotest {
     
    618         */
    719        public static void main(String[] args) {
    8 //              JFileChooser fc = new JFileChooser();
    9 //              fc.setAcceptAllFileFilterUsed( false );
    10 //              fc.setFileFilter( new VideoFileFilter() );
    11 //              if (fc.showOpenDialog( Main.parent )==JFileChooser.APPROVE_OPTION)
    12 //              {
    13 //                      VideoWindow w = new VideoWindow(fc.getSelectedFile());
    14 //              }
     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);
    1526
    1627        }
Note: See TracChangeset for help on using the changeset viewer.