1
2 package jmfexample;
3
4
5 public class jmfexample {
6
7
8 public jmfexample() {
9
10 camDataSource dataSource = new camDataSource(null);
11 dataSource.setMainSource();
12 dataSource.makeDataSourceCloneable();
13 dataSource.startProcessing();
14 mainFrame frame = new mainFrame(dataSource);
15 frame.setSize(400, 400);
16 frame.setLocationRelativeTo(null);
17 frame.setVisible(true);
18
19 }
20
21
22 public static void main(String[] args) {
23
24 jmfexample jmf = new jmfexample();
25
26 }
27
28 }
29
30