jmfexample.java
来自「QR code是日本人开发的现在很流行的国际通用的二维条形码」· Java 代码 · 共 36 行
JAVA
36 行
package jp.sourceforge.qrcode.example.jmf;// Original JMF(Java Media Framework) video capture example comes from // http://java.about.com/library/weekly/uc_jmfmovie1.htm// By Mr. Gal Ratner // Note that you need JMF runtime to run this application// http://java.sun.com/products/java-media/jmf/2.1.1/download.htmlpublic class jmfexample { public jmfexample() { camDataSource dataSource = new camDataSource(null); dataSource.setMainSource(); dataSource.makeDataSourceCloneable(); dataSource.startProcessing(); mainFrame frame = new mainFrame(dataSource); //frame.setSize(640, 600); frame.setSize(400, 400); frame.setLocationRelativeTo(null); frame.setVisible(true); } public static void main(String[] args) { jmfexample jmf = new jmfexample(); } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?