From 88679e608af55722d658130840ef64c145cf5560 Mon Sep 17 00:00:00 2001 From: trifonnt Date: Thu, 20 Aug 2009 12:18:33 +0000 Subject: [PATCH] Small typo fixes. --- client/src/org/compiere/grid/ed/VLocation.java | 2 +- client/src/org/compiere/grid/ed/VLocationDialog.java | 8 ++++---- client/src/org/compiere/grid/ed/VURL.java | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/src/org/compiere/grid/ed/VLocation.java b/client/src/org/compiere/grid/ed/VLocation.java index 37be296bd8..e9fb14f865 100644 --- a/client/src/org/compiere/grid/ed/VLocation.java +++ b/client/src/org/compiere/grid/ed/VLocation.java @@ -211,7 +211,7 @@ public class VLocation extends JComponent } // isReadWrite /** - * Set Mandatory (and back bolor) + * Set Mandatory (and back color) * @param mandatory true if mandatory */ public void setMandatory (boolean mandatory) diff --git a/client/src/org/compiere/grid/ed/VLocationDialog.java b/client/src/org/compiere/grid/ed/VLocationDialog.java index 5ead13f56d..a46194e7b3 100644 --- a/client/src/org/compiere/grid/ed/VLocationDialog.java +++ b/client/src/org/compiere/grid/ed/VLocationDialog.java @@ -424,10 +424,10 @@ public class VLocationDialog extends CDialog */ private String lookupPostcode(MCountry country, String postcode) { - // Initialise the lookup class. - AddressLookupInterface pcLookup = null; - try { - AddressLookupInterface pcLookupTmp = (AddressLookupInterface) Class + // Initialize the lookup class. + AddressLookupInterface pcLookup = null; + try { + AddressLookupInterface pcLookupTmp = (AddressLookupInterface) Class .forName(country.getLookupClassName()).newInstance(); pcLookup = pcLookupTmp.newInstance(); } catch (Exception e) { diff --git a/client/src/org/compiere/grid/ed/VURL.java b/client/src/org/compiere/grid/ed/VURL.java index 96bd8966d7..b017e44e65 100644 --- a/client/src/org/compiere/grid/ed/VURL.java +++ b/client/src/org/compiere/grid/ed/VURL.java @@ -141,7 +141,7 @@ public class VURL extends JComponent m_button.setFocusable(false); this.add(m_button, BorderLayout.EAST); - // Prefereed Size + // Preferred Size this.setPreferredSize(this.getPreferredSize()); // causes r/o to be the same length // ReadWrite if (isReadOnly || !isUpdateable) @@ -221,7 +221,7 @@ public class VURL extends JComponent /** * Set ReadWrite - * @param rw read rwite + * @param rw read/write */ public void setReadWrite (boolean rw) {