[Webfunds-commits] java/webfunds/client/contracts/wizard KeyContract.java

Edwin Woudt edwin@cypherpunks.ai
Mon, 28 Aug 2000 14:23:31 -0400 (AST)


edwin       00/08/28 14:23:31

  Modified:    webfunds/client/contracts/wizard KeyContract.java
  Log:
  Fix margins to allow space for the expanded instructions iang wrote.

Revision  Changes    Path
1.14      +14 -14    java/webfunds/client/contracts/wizard/KeyContract.java

Index: KeyContract.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/contracts/wizard/KeyContract.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- KeyContract.java	2000/08/28 15:17:07	1.13
+++ KeyContract.java	2000/08/28 18:23:30	1.14
@@ -1,5 +1,5 @@
 /*
- * $Id: KeyContract.java,v 1.13 2000/08/28 15:17:07 edwin Exp $
+ * $Id: KeyContract.java,v 1.14 2000/08/28 18:23:30 edwin Exp $
  *
  * Copyright (c) Systemics Inc 2000 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -26,7 +26,7 @@
  * Panel that asks for the contract key
  *
  * @author Edwin Woudt <edwin@webfunds.org>
- * @version $Revision: 1.13 $
+ * @version $Revision: 1.14 $
  */
 
 public class KeyContract extends SignContractWizardPanel 
@@ -77,7 +77,7 @@
         c.weighty    = 0;      c.weightx   = 1;
         c.fill       = GridBagConstraints.HORIZONTAL;
         c.anchor     = GridBagConstraints.WEST;
-        c.insets     = new Insets(5, 5, 15, 5);
+        c.insets     = new Insets(5, 5, 10, 5);
         lab = new JLabel("<html><font size='-1'><b>"+
                   "Select the file containing your "+
                   tag +
@@ -101,7 +101,7 @@
         c.weighty    = 0;      c.weightx   = 1;
         c.fill       = GridBagConstraints.HORIZONTAL;
         c.anchor     = GridBagConstraints.EAST;
-        c.insets     = new Insets(5, 5, 5, 5);
+        c.insets     = new Insets(0, 5, 5, 5);
         txtFile = new JTextField("");
         gridbag.setConstraints(txtFile,c); add(txtFile);
 
@@ -111,7 +111,7 @@
         c.weighty    = 0;      c.weightx   = 0;
         c.fill       = GridBagConstraints.NONE;
         c.anchor     = GridBagConstraints.WEST;
-        c.insets     = new Insets(5, 5, 5, 5);
+        c.insets     = new Insets(0, 5, 5, 5);
         but = new JButton("Browse"); 
         but.addActionListener(this);
         but.setActionCommand("browse");
@@ -123,7 +123,7 @@
         c.weighty    = 0;      c.weightx   = 0;
         c.fill       = GridBagConstraints.NONE;
         c.anchor     = GridBagConstraints.WEST;
-        c.insets     = new Insets(5, 5, 0, 5);
+        c.insets     = new Insets(0, 5, 0, 5);
         lab = new JLabel("The secret key:"); 
         gridbag.setConstraints(lab,c); add(lab);
         
@@ -133,7 +133,7 @@
         c.weighty    = 0;      c.weightx   = 1;
         c.fill       = GridBagConstraints.HORIZONTAL;
         c.anchor     = GridBagConstraints.EAST;
-        c.insets     = new Insets(5, 5, 5, 5);
+        c.insets     = new Insets(0, 5, 5, 5);
         txtFile2 = new JTextField("");
         gridbag.setConstraints(txtFile2,c); add(txtFile2);
 
@@ -143,7 +143,7 @@
         c.weighty    = 0;      c.weightx   = 0;
         c.fill       = GridBagConstraints.NONE;
         c.anchor     = GridBagConstraints.WEST;
-        c.insets     = new Insets(5, 5, 5, 5);
+        c.insets     = new Insets(0, 5, 5, 5);
         but = new JButton("Browse"); 
         but.addActionListener(this);
         but.setActionCommand("browse2");
@@ -155,7 +155,7 @@
         c.weighty    = 0;      c.weightx   = 0;
         c.fill       = GridBagConstraints.NONE;
         c.anchor     = GridBagConstraints.WEST;
-        c.insets     = new Insets(5, 5, 0, 5);
+        c.insets     = new Insets(5, 5, 3, 5);
         lab = new JLabel("Export instructions for PGP 6.5 on Windows:"); 
         gridbag.setConstraints(lab,c); add(lab);
         
@@ -165,7 +165,7 @@
         c.weighty    = 0;      c.weightx   = 1;
         c.fill       = GridBagConstraints.HORIZONTAL;
         c.anchor     = GridBagConstraints.WEST;
-        c.insets     = new Insets(5, 5, 5, 5);
+        c.insets     = new Insets(0, 5, 5, 5);
         lab = new JLabel("<html><font size='-1'><b>"+
                   "Right-Click on the "+
                   tag +
@@ -181,7 +181,7 @@
         c.weighty    = 0;      c.weightx   = 0;
         c.fill       = GridBagConstraints.NONE;
         c.anchor     = GridBagConstraints.WEST;
-        c.insets     = new Insets(5, 5, 0, 5);
+        c.insets     = new Insets(5, 5, 3, 5);
         lab = new JLabel("Export instructions for GnuPG:"); 
         gridbag.setConstraints(lab,c); add(lab);
         
@@ -191,7 +191,7 @@
         c.weighty    = 0;      c.weightx   = 1;
         c.fill       = GridBagConstraints.HORIZONTAL;
         c.anchor     = GridBagConstraints.WEST;
-        c.insets     = new Insets(5, 5, 5, 5);
+        c.insets     = new Insets(0, 5, 5, 5);
         lab = new JLabel("<html><font size='-1'><b>"+
                   "Public key: 'gpg -a --export \"" +
                   tag +
@@ -208,7 +208,7 @@
         c.weighty    = 0;      c.weightx   = 0;
         c.fill       = GridBagConstraints.NONE;
         c.anchor     = GridBagConstraints.WEST;
-        c.insets     = new Insets(5, 5, 0, 5);
+        c.insets     = new Insets(5, 5, 3, 5);
         lab = new JLabel("Creating your OpenPGP " + tag + " key:"); 
         gridbag.setConstraints(lab,c); add(lab);
         
@@ -218,7 +218,7 @@
         c.weighty    = 0;      c.weightx   = 1;
         c.fill       = GridBagConstraints.HORIZONTAL;
         c.anchor     = GridBagConstraints.WEST;
-        c.insets     = new Insets(5, 5, 5, 5);
+        c.insets     = new Insets(0, 5, 0, 5);
         lab = new JLabel("<html><font size='-1'><b>"+
                   "Create a DH/DSS or DSA/ElGamal key "+
                   "that it is self-signed and has the "+