public class VideoCaptureExample extends KeyAdapter
Modifier and Type | Method and Description |
---|---|
void |
keyPressed(KeyEvent e) |
static void |
main(String[] args)
Main method.
|
keyReleased, keyTyped
public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
keyPressed
in class KeyAdapter
public static void main(String[] args) throws VideoCaptureException
args
- ignoredVideoCaptureException
- if their is a problem with the video capture hardware