import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.image.BufferedImage;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.SwingWorker;
import com.googlecode.javacpp.Loader;
import com.googlecode.javacv.*;
import com.googlecode.javacv.cpp.*;
import static com.googlecode.javacv.cpp.opencv_core.*;
@SuppressWarnings("serial")
public class CFrameTest extends JFrame {
JButton jbtStart;
JButton jbtStop;
CanvasFrame frame;
FrameGrabber grabber;
IplImage grabbedImage;
public CFrameTest() {
super("test");
setSize(250, 100);
setLocationRelativeTo(null);
setDefaul