The following document contains the results of PMD's CPD 3.7.
| File | Line |
|---|---|
| com/smartwerkz/jupload/classic/ui/JUploadGui.java | 1128 |
| com/smartwerkz/jupload/classic/ui/JUploadGui.java | 1163 |
GraphicsDevice[] devices = ScreenCamera.getDevices();
if (devices.length < 1) {
screenCam.captureFailed(
captureScreenDelay,
new Exception(Messages.get("Screenshot.NoDevice")));
}
else {
Object device;
if (devices.length > 1) {
device = JOptionPane.
showInputDialog(this,
Messages.get("Screenshot.SelectScreens"),
Messages.get("Screenshot.Title"),
JOptionPane.QUESTION_MESSAGE, null, devices,
devices);
}
else {
device = devices[0];
}
screenCam.capture((GraphicsDevice)device, captureScreenDelay, onlyJUpload); | |