[Webfunds-commits] java/webfunds/client AccountBrowserImpl.java

Ian Grigg iang@cypherpunks.ai
Mon, 29 May 2000 14:55:03 -0400 (AST)


iang        00/05/29 14:55:03

  Modified:    webfunds/client AccountBrowserImpl.java
  Log:
  made backup button less ridiculous.

Revision  Changes    Path
1.71      +4 -5      java/webfunds/client/AccountBrowserImpl.java

Index: AccountBrowserImpl.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/AccountBrowserImpl.java,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- AccountBrowserImpl.java	2000/05/16 11:22:14	1.70
+++ AccountBrowserImpl.java	2000/05/29 18:55:02	1.71
@@ -1,5 +1,5 @@
 /*
- * $Id: AccountBrowserImpl.java,v 1.70 2000/05/16 11:22:14 iang Exp $
+ * $Id: AccountBrowserImpl.java,v 1.71 2000/05/29 18:55:02 iang Exp $
  *
  * Copyright (c) Systemics Inc 1999 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -320,11 +320,10 @@
         {
           public void actionPerformed(ActionEvent evt)
           {
-            String select =
-               "Select Directory where you wish to Backup " + me + " into";
-
             JFileChooser fc = new JFileChooser();
             fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
+            fc.setDialogTitle("Select Directory where you wish to Backup " +
+                              me + " into");
 
             //
             //  Make a directory.  If we fail to make, keep trying!
@@ -333,7 +332,7 @@
             File targetDir = null;
             while (!ok)
             {
-                int res = fc.showDialog(new JFrame(), select);
+                int res = fc.showDialog(new JFrame(), "Select Backup Dir");
                 if (res != JFileChooser.APPROVE_OPTION)
                     return ;