diff options
Diffstat (limited to 'java/ImageProcessing/framework')
-rw-r--r-- | java/ImageProcessing/framework/ImageApp.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/ImageProcessing/framework/ImageApp.java b/java/ImageProcessing/framework/ImageApp.java index 7d4273b1fbd..85d5a93f7b7 100644 --- a/java/ImageProcessing/framework/ImageApp.java +++ b/java/ImageProcessing/framework/ImageApp.java @@ -130,9 +130,9 @@ public class ImageApp extends Applet ImageSender imageSender = new ImageSender (); imageSender.open (this.imageCanvas_.getImage (), url); int bytesSent = imageSender.send (); - System.out.println ("Sent: " + bytesSent); - // DialogManager.popDialog (DialogType.NOT_YET_IMPLEMENTED, - // "Save File: " + url); + if (bytesSent == -1) + DialogManager.popDialog (DialogType.NOT_SUPPORTED, + "Server does not support uploading or URL not found"); } public Choice getFilters () |