use of io.videofirst.capture.ui.panels.RecordPanel in project vft-capture by videofirst.
the class VfCaptureFrame method init.
// Private methods
private void init() {
this.getContentPane().add(new RecordPanel(captureService), BorderLayout.CENTER);
// Set size / position
Dimension size = new Dimension(width, height);
Point location = getCentredLocation(this, size);
this.setSize(size);
this.setLocation(location.x, location.y);
this.setIconImage(Toolkit.getDefaultToolkit().getImage(CAPTURE_ICON_16));
this.setVisible(true);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
Aggregations