question: public PairThisDeviceDialog ( java . awt . Frame parent ) throws Exception { super ( parent , true ) ; loadDeviceList ( ) ; initComponents ( 0 ) ; setDeviceList ( ) ; QRCodeProcessor proc = new QRCodeProcessor ( ) ; proc . addSquareCodeListener ( this ) ; try { if ( camLifeViewPanel instanceof OpenCVWebCam ) { webCam = ( OpenCVWebCam ) camLifeViewPanel ; webCam . setImageProcessor ( proc ) ; webCam . start ( ) ; } } catch ( Exception e ) { logger . warn ( "PairThisDeviceDialog : Failed to load webcam. This might not be a problem. Thrown exception: " , e ) ; } setLocationRelativeTo ( null ) ; }
target:  Creates new form PairThisDeviceDialog