[Webfunds-commits] java/webfunds/client/sox/gui PaymentFrame.java

Ian Grigg iang@cypherpunks.ai
Thu, 22 Feb 2001 11:39:26 -0400 (AST)


iang        01/02/22 11:39:26

  Modified:    webfunds/client SimplePaymentFrame.java
               webfunds/client/sox/gui PaymentFrame.java
  Log:
  dropped FILE menu, it was not working and not used.

Revision  Changes    Path
1.47      +12 -12    java/webfunds/client/SimplePaymentFrame.java

Index: SimplePaymentFrame.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/SimplePaymentFrame.java,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- SimplePaymentFrame.java	2001/02/21 20:44:45	1.46
+++ SimplePaymentFrame.java	2001/02/22 15:39:25	1.47
@@ -1,5 +1,5 @@
 /*
- * $Id: SimplePaymentFrame.java,v 1.46 2001/02/21 20:44:45 iang Exp $
+ * $Id: SimplePaymentFrame.java,v 1.47 2001/02/22 15:39:25 iang Exp $
  *
  * Copyright (c) Systemics Ltd 1995-1999 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -85,14 +85,14 @@
             GridBagConstraints c    = new GridBagConstraints();
             JMenuBar menu           = new JMenuBar();
             JMenu filemenu          = new JMenu("File");
-            JMenuItem exititem      = new JMenuItem("Close");
-            JMenuItem configureitem = new JMenuItem("Configure");
+            // JMenuItem exititem      = new JMenuItem("Close");
+            // JMenuItem configureitem = new JMenuItem("Configure");
             
             frame.setJMenuBar(menu);
-            menu.add(filemenu);
-            filemenu.add(configureitem);
-            filemenu.add(new JSeparator());
-            filemenu.add(exititem);
+            // menu.add(filemenu);
+            // filemenu.add(configureitem);
+            // filemenu.add(new JSeparator());
+            // filemenu.add(exititem);
 
             /*
             amount.setActionCommand("amount");
@@ -119,8 +119,8 @@
             */
     
     
-            exititem.addActionListener(this);
-            configureitem.addActionListener(this);
+            // exititem.addActionListener(this);
+            // configureitem.addActionListener(this);
             ok.addActionListener(this);
             close.addActionListener(this);
             directdeposit.addActionListener(this);
@@ -136,9 +136,9 @@
             //description.setBorder(new EtchedBorder(EtchedBorder.LOWERED));
             //payment.setEnabled(false);
             
-            filemenu.setMnemonic('f');
-            exititem.setMnemonic('x');
-            configureitem.setMnemonic('n');
+            // filemenu.setMnemonic('f');
+            // exititem.setMnemonic('x');
+            // configureitem.setMnemonic('n');
             ok.setMnemonic('m');
             close.setMnemonic('c');
     



1.5       +1 -18     java/webfunds/client/sox/gui/PaymentFrame.java

Index: PaymentFrame.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/sox/gui/PaymentFrame.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- PaymentFrame.java	2001/02/21 20:44:45	1.4
+++ PaymentFrame.java	2001/02/22 15:39:26	1.5
@@ -1,5 +1,5 @@
 /*
- * $Id: PaymentFrame.java,v 1.4 2001/02/21 20:44:45 iang Exp $
+ * $Id: PaymentFrame.java,v 1.5 2001/02/22 15:39:26 iang Exp $
  *
  * Copyright (c) Systemics Ltd 1995-1999 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -129,24 +129,10 @@
             JPanel butpanel         = new JPanel();
             JPanel textpanel        = new JPanel();
 
-            JMenuBar menu           = new JMenuBar();
-            JMenu filemenu          = new JMenu("File");
-            JMenuItem exititem      = new JMenuItem("Close");
-            JMenuItem configureitem = new JMenuItem("Configure");
-            
-            // why won't the menu show?
-            frame.setJMenuBar(menu);
-            menu.add(filemenu);
-            filemenu.add(configureitem);
-            filemenu.add(new JSeparator());
-            filemenu.add(exititem);
-
             ok.setToolTipText("Write a Cut & Pastable Payment into Box");
             directdeposit.setToolTipText("Write Payment and Deposit to Target");
             close.setToolTipText("Close Dialog");
             
-            exititem.addActionListener(this);
-            configureitem.addActionListener(this);
             ok.addActionListener(this);
             close.addActionListener(this);
             directdeposit.addActionListener(this);
@@ -155,9 +141,6 @@
             //description.setBorder(new EtchedBorder(EtchedBorder.LOWERED));
             //paybox.setEnabled(false);
             
-            filemenu.setMnemonic('f');
-            exititem.setMnemonic('x');
-            configureitem.setMnemonic('n');
             ok.setMnemonic('m');
             close.setMnemonic('c');