summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpjain <pjain@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-17 17:00:46 +0000
committerpjain <pjain@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-17 17:00:46 +0000
commitf6a2e7f039ec13548cc6d1b5e484c696087ca5bc (patch)
tree61e368c8f5cfb313ce7a036d84e1351b282c1a40
parent857f72b67c8dce47fc029c41b0ad6dca16a02b94 (diff)
downloadATCD-f6a2e7f039ec13548cc6d1b5e484c696087ca5bc.tar.gz
Added two methods to enable and disable the save button
-rw-r--r--java/ImageProcessing/framework/FilePanel.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/java/ImageProcessing/framework/FilePanel.java b/java/ImageProcessing/framework/FilePanel.java
index 0f233eda8ff..86bc5e50c3e 100644
--- a/java/ImageProcessing/framework/FilePanel.java
+++ b/java/ImageProcessing/framework/FilePanel.java
@@ -20,10 +20,20 @@ class FilePanel extends Panel
this.add (this.saveButton_);
// Disable the save button for now
- this.saveButton_.disable ();
+ this.disableSaveButton ();
this.resize (400, 400);
}
+ public void enableSaveButton ()
+ {
+ this.saveButton_.enable ();
+ }
+
+ public void disableSaveButton ()
+ {
+ this.saveButton_.disable ();
+ }
+
// All the created buttons
private URLDialogButton URLDialogButton_;
private SaveButton saveButton_;