summaryrefslogtreecommitdiff
path: root/java/ImageProcessing
diff options
context:
space:
mode:
authorpjain <pjain@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-23 17:22:35 +0000
committerpjain <pjain@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-23 17:22:35 +0000
commitc688d129cd4b45d5ade73cdfe5b6f9bebfa6baa2 (patch)
treebd1464fc0d44fa6aac4a7e30788d739faa450d22 /java/ImageProcessing
parent068ac9b671e19af2f91109253400392b5e2ced58 (diff)
downloadATCD-c688d129cd4b45d5ade73cdfe5b6f9bebfa6baa2.tar.gz
Added support for image uploading
Diffstat (limited to 'java/ImageProcessing')
-rw-r--r--java/ImageProcessing/framework/ImageApp.java6
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 ()