summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgosiaw <magnolia1973@gazeta.pl>2013-11-07 14:28:11 (GMT)
committer gosiaw <magnolia1973@gazeta.pl>2013-11-07 14:28:11 (GMT)
commitf2297a7857792589340f864e605cd92ab1a6d4f1 (patch)
treeb5e5c8954cb5bec10d3ecdbb8c3b757ae2ecd1f4
parentf2e53f94c97686f92569ec0894f96c36819fa6da (diff)
downloadQCG-Data-f2297a7857792589340f864e605cd92ab1a6d4f1.zip
QCG-Data-f2297a7857792589340f864e605cd92ab1a6d4f1.tar.gz
QCG-Data-f2297a7857792589340f864e605cd92ab1a6d4f1.tar.bz2
New login dialog created; Some changes in handling grid accounts
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropGridAccount.java59
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropGridMemoryDialog.java12
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropLoginDialog.form513
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropLoginDialog.java646
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropOldLoginDialog.form1239
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropOldLoginDialog.java936
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/utils/Version.java2
-rw-r--r--idrop-swing/src/main/resources/org/irods/jargon/idrop/desktop/gdrop/Bundle.properties143
8 files changed, 2902 insertions, 648 deletions
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropGridAccount.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropGridAccount.java
new file mode 100644
index 0000000..e18334b
--- /dev/null
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropGridAccount.java
@@ -0,0 +1,59 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package org.irods.jargon.idrop.desktop.gdrop;
+
+import org.irods.jargon.core.connection.AuthScheme;
+import org.irods.jargon.transfer.dao.domain.GridAccount;
+
+/**
+ *
+ * @author gosiaw
+ */
+public class GDropGridAccount extends GridAccount {
+ private GDropAuthScheme gDropAuthScheme;
+
+ public GDropGridAccount() {
+ super();
+
+ // Set standard auth scheme by default
+ this.gDropAuthScheme = gDropAuthScheme.STANDARD;
+ }
+
+ public GDropGridAccount(GridAccount gridAccount) {
+ super();
+
+ // Rewrite all properties from gridAccount
+ this.setComment(gridAccount.getComment());
+ this.setCreatedAt(gridAccount.getCreatedAt());
+ this.setDefaultPath(gridAccount.getDefaultPath());
+ this.setDefaultResource(gridAccount.getDefaultResource());
+ this.setHost(gridAccount.getHost());
+ this.setId(gridAccount.getId());
+ this.setPassword(gridAccount.getPassword());
+ this.setPort(gridAccount.getPort());
+ // this.setPreset(gridAccount.getPreset());
+ this.setUpdatedAt(gridAccount.getUpdatedAt());
+ this.setUserName(gridAccount.getUserName());
+ this.setZone(gridAccount.getZone());
+
+ // Set standard auth scheme by default
+ this.gDropAuthScheme = gDropAuthScheme.STANDARD;
+ this.setAuthScheme(AuthScheme.STANDARD);
+ }
+
+ public GDropAuthScheme getGDropAuthScheme() {
+ return gDropAuthScheme;
+ }
+
+ public void setgDropAuthScheme(GDropAuthScheme gDropAuthScheme) {
+ this.gDropAuthScheme = gDropAuthScheme;
+ if (gDropAuthScheme == gDropAuthScheme.STANDARD) {
+ setAuthScheme(AuthScheme.STANDARD);
+ } else {
+ // GSI -> GSI; KEYSF -> GSI
+ setAuthScheme(AuthScheme.GSI);
+ }
+ }
+}
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropGridMemoryDialog.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropGridMemoryDialog.java
index a0d01a2..a495331 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropGridMemoryDialog.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropGridMemoryDialog.java
@@ -50,7 +50,7 @@ public class GDropGridMemoryDialog extends javax.swing.JDialog implements
private final IDROPCore idropCore;
// private final iDrop idrop;
private final IRODSAccount savedAccount;
- private GridAccount defaultAccount;
+ private GDropGridAccount defaultAccount;
public static org.slf4j.Logger log = LoggerFactory.getLogger(MetadataTableModel.class);
/**
@@ -79,7 +79,7 @@ public class GDropGridMemoryDialog extends javax.swing.JDialog implements
gridAccounts = gridAccountService.findAll();
if (gridAccounts.isEmpty() == true) {
// Add default grid account - QCG-Data specific feature
- defaultAccount = new GridAccount();
+ defaultAccount = new GDropGridAccount();
// Loading defaults from file
Properties qcgDataProperties = new Properties();
@@ -282,9 +282,9 @@ public class GDropGridMemoryDialog extends javax.swing.JDialog implements
// Use the Grid Account data retrieved from the GridInfoTable to retrieve
// the full record from the DB
- GridAccount getStoredGridAccountFromGridTableData(GridAccount gridTableData) {
+ GDropGridAccount getStoredGridAccountFromGridTableData(GridAccount gridTableData) {
IRODSAccount irodsAccount = null;
- GridAccount storedGridAccount = null;
+ GDropGridAccount storedGridAccount = null;
if (gridTableData != null) {
try {
@@ -299,7 +299,7 @@ public class GDropGridMemoryDialog extends javax.swing.JDialog implements
try {
storedGridAccount =
- idropCore.getConveyorService().getGridAccountService().findGridAccountByIRODSAccount(irodsAccount);
+ new GDropGridAccount(idropCore.getConveyorService().getGridAccountService().findGridAccountByIRODSAccount(irodsAccount));
} catch (ConveyorExecutionException ex) {
Logger.getLogger(GDropGridMemoryDialog.class.getName()).log(Level.SEVERE,
null, ex);
@@ -535,7 +535,7 @@ public class GDropGridMemoryDialog extends javax.swing.JDialog implements
}
final ListSelectionModel selectionModel = tableGridInfo.getSelectionModel();
- GridAccount gridAccount = null;
+ GDropGridAccount gridAccount = null;
try {
GridInfoTableModel model = (GridInfoTableModel) tableGridInfo.getModel();
GridAccount gridTableData = (GridAccount) model.getRow(row);
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropLoginDialog.form b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropLoginDialog.form
index da5d8ee..8078132 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropLoginDialog.form
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropLoginDialog.form
@@ -18,198 +18,40 @@
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
+ <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,-128,0,0,1,-42"/>
</AuxValues>
- <Layout>
- <DimensionLayout dim="0">
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" attributes="0">
- <EmptySpace max="32767" attributes="0"/>
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="1" attributes="0">
- <Component id="pnlButtonsPanel" min="-2" max="-2" attributes="0"/>
- <EmptySpace min="-2" pref="17" max="-2" attributes="0"/>
- </Group>
- <Group type="102" alignment="1" attributes="0">
- <Component id="pnlStandardLogin" min="-2" pref="420" max="-2" attributes="0"/>
- <EmptySpace max="-2" attributes="0"/>
- </Group>
- </Group>
- </Group>
- </Group>
- </DimensionLayout>
- <DimensionLayout dim="1">
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="1" attributes="0">
- <Component id="pnlStandardLogin" min="-2" pref="344" max="-2" attributes="0"/>
- <EmptySpace pref="9" max="32767" attributes="0"/>
- <Component id="pnlButtonsPanel" min="-2" max="-2" attributes="0"/>
- <EmptySpace max="-2" attributes="0"/>
- </Group>
- </Group>
- </DimensionLayout>
- </Layout>
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
<SubComponents>
<Container class="javax.swing.JPanel" name="pnlStandardLogin">
<Properties>
- <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
- <Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo">
- <EmptyBorder bottom="4" left="10" right="10" top="20"/>
- </Border>
- </Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[382, 370]"/>
+ <Dimension value="[450, 300]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
- <Layout>
- <DimensionLayout dim="0">
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="1" attributes="0">
- <EmptySpace min="40" max="32767" attributes="0"/>
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="1" pref="1" max="-2" attributes="0"/>
- <Component id="lblHost" min="-2" max="-2" attributes="0"/>
- </Group>
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="-2" pref="10" max="-2" attributes="0"/>
- <Component id="lblPort" min="-2" max="-2" attributes="0"/>
- </Group>
- <Component id="lblZone" alignment="0" min="-2" max="-2" attributes="0"/>
- </Group>
- </Group>
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="34" pref="34" max="-2" attributes="0"/>
- <Component id="lblConfirmPassword" min="-2" max="-2" attributes="0"/>
- </Group>
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="41" pref="41" max="-2" attributes="0"/>
- <Component id="lblUserName" min="-2" max="-2" attributes="0"/>
- </Group>
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="31" pref="31" max="-2" attributes="0"/>
- <Component id="lblStartingCollection" min="-2" max="-2" attributes="0"/>
- </Group>
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="10" pref="10" max="-2" attributes="0"/>
- <Component id="lblAuthorozationScheme" min="-2" max="-2" attributes="0"/>
- </Group>
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="87" pref="87" max="-2" attributes="0"/>
- <Component id="lblComment" min="-2" max="-2" attributes="0"/>
- </Group>
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="89" pref="89" max="-2" attributes="0"/>
- <Component id="lblPassword" min="-2" max="-2" attributes="0"/>
- </Group>
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="116" pref="116" max="-2" attributes="0"/>
- <Component id="lblUser" min="-2" max="-2" attributes="0"/>
- </Group>
- </Group>
- <EmptySpace max="-2" attributes="0"/>
- <Group type="103" groupAlignment="0" attributes="0">
- <Component id="jScrollPane1" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
- <Component id="cbAuthScheme" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
- <Component id="txtInitialPath" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
- <Component id="txtDefaultResource" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
- <Component id="txtVerifyPassword" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
- <Component id="txtPassword" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
- <Component id="txtUsername" alignment="1" min="-2" pref="167" max="-2" attributes="0"/>
- <Component id="lblZoneValue" alignment="1" min="-2" pref="230" max="-2" attributes="0"/>
- <Component id="txtPort" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
- <Component id="lblHostAddress" alignment="1" min="-2" pref="221" max="-2" attributes="0"/>
- </Group>
- <EmptySpace max="-2" attributes="0"/>
- </Group>
- </Group>
- </DimensionLayout>
- <DimensionLayout dim="1">
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <Group type="103" groupAlignment="1" attributes="0">
- <Group type="102" alignment="1" attributes="0">
- <Component id="lblHost" min="-2" max="-2" attributes="0"/>
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="6" pref="6" max="-2" attributes="0"/>
- <Component id="lblPort" min="-2" pref="16" max="-2" attributes="0"/>
- </Group>
- <Component id="txtPort" alignment="0" min="-2" max="-2" attributes="0"/>
- </Group>
- </Group>
- <Group type="102" alignment="0" attributes="0">
- <Component id="lblHostAddress" min="-2" max="-2" attributes="0"/>
- <EmptySpace min="-2" pref="23" max="-2" attributes="0"/>
- </Group>
- </Group>
- <Group type="103" groupAlignment="0" attributes="0">
- <Component id="lblZone" alignment="0" min="-2" max="-2" attributes="0"/>
- <Group type="102" alignment="1" attributes="0">
- <EmptySpace max="-2" attributes="0"/>
- <Component id="lblZoneValue" min="-2" max="-2" attributes="0"/>
- </Group>
- </Group>
- <EmptySpace max="-2" attributes="0"/>
- <Group type="103" groupAlignment="0" attributes="0">
- <Component id="lblUser" alignment="0" min="-2" max="-2" attributes="0"/>
- <Component id="txtUsername" alignment="0" min="-2" max="-2" attributes="0"/>
- </Group>
- <EmptySpace max="-2" attributes="0"/>
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="6" pref="6" max="-2" attributes="0"/>
- <Component id="lblPassword" min="-2" max="-2" attributes="0"/>
- </Group>
- <Component id="txtPassword" alignment="0" min="-2" max="-2" attributes="0"/>
- </Group>
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="6" pref="6" max="-2" attributes="0"/>
- <Component id="lblConfirmPassword" min="-2" max="-2" attributes="0"/>
- </Group>
- <Component id="txtVerifyPassword" alignment="0" min="-2" max="-2" attributes="0"/>
- </Group>
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="6" pref="6" max="-2" attributes="0"/>
- <Component id="lblUserName" min="-2" max="-2" attributes="0"/>
- </Group>
- <Component id="txtDefaultResource" alignment="0" min="-2" max="-2" attributes="0"/>
- </Group>
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="6" pref="6" max="-2" attributes="0"/>
- <Component id="lblStartingCollection" min="-2" max="-2" attributes="0"/>
- </Group>
- <Component id="txtInitialPath" alignment="0" min="-2" max="-2" attributes="0"/>
- </Group>
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="5" pref="5" max="-2" attributes="0"/>
- <Component id="lblAuthorozationScheme" min="-2" max="-2" attributes="0"/>
- </Group>
- <Component id="cbAuthScheme" alignment="0" min="-2" max="-2" attributes="0"/>
- </Group>
- <Group type="103" groupAlignment="0" attributes="0">
- <Component id="lblComment" alignment="0" min="-2" max="-2" attributes="0"/>
- <Component id="jScrollPane1" alignment="0" min="-2" pref="23" max="-2" attributes="0"/>
- </Group>
- </Group>
- </Group>
- </DimensionLayout>
- </Layout>
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
<SubComponents>
<Component class="javax.swing.JLabel" name="lblHost">
<Properties>
- <Property name="horizontalAlignment" type="int" value="4"/>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblHost.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblHost.text_1" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="horizontalTextPosition" type="int" value="4"/>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
<Component class="javax.swing.JLabel" name="lblHostAddress">
<Properties>
@@ -217,20 +59,30 @@
<ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblHostAddress.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[0, 28]"/>
+ <Dimension value="[180, 25]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="1" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
<Component class="javax.swing.JLabel" name="lblPort">
<Properties>
- <Property name="horizontalAlignment" type="int" value="4"/>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblPort.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblPort.text_1" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
+ <Property name="horizontalTextPosition" type="int" value="4"/>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[29, 28]"/>
+ <Dimension value="[150, 25]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
<Component class="javax.swing.JTextField" name="txtPort">
<Properties>
@@ -238,17 +90,30 @@
<ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.txtPort.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[200, 28]"/>
+ <Dimension value="[180, 25]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="1" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
<Component class="javax.swing.JLabel" name="lblZone">
<Properties>
- <Property name="horizontalAlignment" type="int" value="4"/>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblZone.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblZone.text_1" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="horizontalTextPosition" type="int" value="4"/>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="2" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
<Component class="javax.swing.JLabel" name="lblZoneValue">
<Properties>
@@ -256,170 +121,272 @@
<ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblZoneValue.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[0, 28]"/>
+ <Dimension value="[180, 25]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="1" gridY="2" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
- <Component class="javax.swing.JLabel" name="lblUser">
+ <Component class="javax.swing.JLabel" name="lblUsername">
<Properties>
- <Property name="horizontalAlignment" type="int" value="4"/>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblUser.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblUsername.text_1" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="horizontalTextPosition" type="int" value="4"/>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="3" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
- <Component class="javax.swing.JLabel" name="lblUserName">
+ <Component class="javax.swing.JTextField" name="txtUsername">
<Properties>
- <Property name="horizontalAlignment" type="int" value="4"/>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblUserName.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.txtUsername.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[180, 25]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="1" gridY="3" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
- <Component class="javax.swing.JTextField" name="txtDefaultResource">
+ <Component class="javax.swing.JLabel" name="lblPassword">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.txtDefaultResource.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblPassword.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
+ <Property name="horizontalTextPosition" type="int" value="4"/>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[200, 28]"/>
+ <Dimension value="[150, 25]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="4" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
- <Component class="javax.swing.JLabel" name="lblStartingCollection">
+ <Component class="javax.swing.JPasswordField" name="txtPassword">
<Properties>
- <Property name="horizontalAlignment" type="int" value="4"/>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblStartingCollection.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.txtPassword.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[180, 25]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="1" gridY="4" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
- <Component class="javax.swing.JTextField" name="txtInitialPath">
+ <Component class="javax.swing.JLabel" name="lblVerifyPassword">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblVerifyPassword.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="horizontalTextPosition" type="int" value="4"/>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="5" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
+ </Component>
+ <Component class="javax.swing.JPasswordField" name="txtVerifyPassword">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.txtInitialPath.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.txtVerifyPassword.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[180, 25]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="1" gridY="5" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
- <Component class="javax.swing.JLabel" name="lblAuthorozationScheme">
+ <Component class="javax.swing.JLabel" name="lblAuthScheme">
<Properties>
- <Property name="horizontalAlignment" type="int" value="4"/>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblAuthorozationScheme.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblAuthScheme.text_1" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="horizontalTextPosition" type="int" value="4"/>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="6" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
<Component class="javax.swing.JComboBox" name="cbAuthScheme">
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
- <StringArray count="0"/>
+ <StringArray count="4">
+ <StringItem index="0" value="Item 1"/>
+ <StringItem index="1" value="Item 2"/>
+ <StringItem index="2" value="Item 3"/>
+ <StringItem index="3" value="Item 4"/>
+ </StringArray>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[180, 25]"/>
</Property>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cbAuthSchemeActionPerformed"/>
- <EventHandler event="propertyChange" listener="java.beans.PropertyChangeListener" parameters="java.beans.PropertyChangeEvent" handler="cbAuthSchemePropertyChange"/>
</Events>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="1" gridY="6" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
- <Component class="javax.swing.JLabel" name="lblComment">
+ <Component class="javax.swing.JLabel" name="lblDefaultResource">
<Properties>
- <Property name="horizontalAlignment" type="int" value="4"/>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblComment.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblDefaultResource.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
- </Properties>
- </Component>
- <Container class="javax.swing.JScrollPane" name="jScrollPane1">
- <Properties>
+ <Property name="horizontalTextPosition" type="int" value="4"/>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[224, 84]"/>
+ <Dimension value="[150, 25]"/>
</Property>
</Properties>
- <AuxValues>
- <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
- </AuxValues>
-
- <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
- <SubComponents>
- <Component class="javax.swing.JTextArea" name="textareaComment">
- <Properties>
- <Property name="columns" type="int" value="20"/>
- <Property name="rows" type="int" value="5"/>
- </Properties>
- </Component>
- </SubComponents>
- </Container>
- <Component class="javax.swing.JPasswordField" name="txtPassword">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="7" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
+ </Component>
+ <Component class="javax.swing.JTextField" name="txtDefaultResource">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.txtPassword.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.txtDefaultResource.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[180, 25]"/>
</Property>
</Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtDefaultResourceActionPerformed"/>
+ </Events>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="1" gridY="7" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
- <Component class="javax.swing.JLabel" name="lblPassword">
+ <Component class="javax.swing.JLabel" name="lblStartingCollection">
<Properties>
- <Property name="horizontalAlignment" type="int" value="4"/>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblPassword.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblStartingCollection.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="horizontalTextPosition" type="int" value="4"/>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="8" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
- <Component class="javax.swing.JLabel" name="lblConfirmPassword">
+ <Component class="javax.swing.JTextField" name="txtInitialPath">
<Properties>
- <Property name="horizontalAlignment" type="int" value="4"/>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblConfirmPassword.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.txtInitialPath.text_1" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[180, 25]"/>
</Property>
</Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtInitialPathActionPerformed"/>
+ </Events>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="1" gridY="8" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
- <Component class="javax.swing.JPasswordField" name="txtVerifyPassword">
+ <Component class="javax.swing.JLabel" name="lblComment">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.txtVerifyPassword.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.lblComment.text_1" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="horizontalTextPosition" type="int" value="4"/>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
</Property>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="9" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
</Component>
- <Component class="javax.swing.JTextField" name="txtUsername">
+ <Container class="javax.swing.JScrollPane" name="jScrollPane1">
<Properties>
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.txtUsername.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
- </Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[200, 28]"/>
+ <Dimension value="[180, 60]"/>
</Property>
</Properties>
- <Events>
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtUsernameActionPerformed"/>
- </Events>
- </Component>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="1" gridY="9" gridWidth="1" gridHeight="3" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ <SubComponents>
+ <Component class="javax.swing.JTextField" name="txtComment">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.txtComment.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[180, 25]"/>
+ </Property>
+ </Properties>
+ </Component>
+ </SubComponents>
+ </Container>
</SubComponents>
</Container>
- <Container class="javax.swing.JPanel" name="pnlButtonsPanel">
+ <Container class="javax.swing.JPanel" name="pnlButtons">
+ <Properties>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[200, 60]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="13" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
- <Layout>
- <DimensionLayout dim="0">
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="1" attributes="0">
- <EmptySpace pref="59" max="32767" attributes="0"/>
- <Component id="btnCancel" min="-2" max="-2" attributes="0"/>
- <EmptySpace max="-2" attributes="0"/>
- <Component id="btnOK" min="-2" max="-2" attributes="0"/>
- <EmptySpace max="-2" attributes="0"/>
- </Group>
- </Group>
- </DimensionLayout>
- <DimensionLayout dim="1">
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="1" attributes="0">
- <EmptySpace pref="10" max="32767" attributes="0"/>
- <Group type="103" groupAlignment="0" attributes="0">
- <Component id="btnCancel" alignment="0" min="-2" max="-2" attributes="0"/>
- <Component id="btnOK" alignment="0" min="-2" max="-2" attributes="0"/>
- </Group>
- <EmptySpace max="-2" attributes="0"/>
- </Group>
- </Group>
- </DimensionLayout>
- </Layout>
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout"/>
<SubComponents>
<Component class="javax.swing.JButton" name="btnCancel">
<Properties>
@@ -431,7 +398,7 @@
<ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.btnCancel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
<Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.btnCancel.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.btnCancel.toolTipText_1" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
</Properties>
<Events>
@@ -448,7 +415,7 @@
<ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.btnOK.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
<Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.btnOK.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropLoginDialog.btnOK.toolTipText_1" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
</Properties>
<Events>
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropLoginDialog.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropLoginDialog.java
index 558a227..9ee9604 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropLoginDialog.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropLoginDialog.java
@@ -13,7 +13,6 @@ import org.irods.jargon.conveyor.core.GridAccountService;
import org.irods.jargon.core.connection.IRODSAccount;
import org.irods.jargon.core.exception.JargonException;
import org.irods.jargon.idrop.desktop.systraygui.IDROPCore;
-import org.irods.jargon.transfer.dao.domain.GridAccount;
import org.irods.jargon.transfer.exception.PassPhraseInvalidException;
/**
@@ -21,100 +20,27 @@ import org.irods.jargon.transfer.exception.PassPhraseInvalidException;
* @author gosiaw
*/
public class GDropLoginDialog extends javax.swing.JDialog {
- private GridAccount gridAccount;
+ private GDropGridAccount gridAccount;
private final IDROPCore idropCore;
private static final int STANDARD = 0;
private static final int GSI = 1;
private static final int KEYFS = 2;
-
/**
* Creates new form GDropLoginDialog
*/
public GDropLoginDialog(java.awt.Frame parent, boolean modal, final IDROPCore idropCore,
- final GridAccount gridAccount) {
+ final GDropGridAccount gridAccount) {
super(parent, modal);
initComponents();
- this.gridAccount = gridAccount;
this.idropCore = idropCore;
+ this.gridAccount = gridAccount;
populateGridAccountInfo();
initAuthSchemesCombo();
- this.getRootPane().setDefaultButton(btnOK);
+ this.getRootPane().setDefaultButton(btnOK);
}
- private void populateGridAccountInfo() {
- String host = gridAccount.getHost();
- if (host != null) {
- lblHostAddress.setText(host);
- }
-
- int port = gridAccount.getPort();
- txtPort.setText(String.valueOf(port));
-
- String zone = gridAccount.getZone();
- if (zone != null) {
- lblZoneValue.setText(zone);
- }
-
- String user = gridAccount.getUserName();
- if (user != null) {
- txtUsername.setText(user);
- }
-
- // need to get plain test password
- GridAccountService gridAccountService = idropCore.getConveyorService().getGridAccountService();
- IRODSAccount irodAccountForPswd = null;
- String pswd = null;
- try {
- irodAccountForPswd = gridAccountService.irodsAccountForGridAccount(gridAccount);
- } catch (ConveyorExecutionException ex) {
- Logger.getLogger(GDropLoginDialog.class.getName()).log(
- Level.SEVERE, null, ex);
- JOptionPane.showMessageDialog(
- this,
- "Could not retrieve stored password for this account.",
- "Edit Grid Account", JOptionPane.ERROR_MESSAGE);
- } catch (Exception e) {
- // Account not found, but this is expected situation in case default grid is created in GridMemoryDialog
- // QCG-Data specific feature
- Logger.getLogger(GDropLoginDialog.class.getName()).log(
- Level.INFO, null, e);
-// JOptionPane.showMessageDialog(
-// this,
-// "No user name and password.",
-// "Edit Grid Account", JOptionPane.ERROR_MESSAGE);
- }
- if (irodAccountForPswd != null) {
- pswd = irodAccountForPswd.getPassword();
- }
- if (pswd != null) {
- txtPassword.setText(pswd);
- txtVerifyPassword.setText(pswd);
- }
-
- String defResc = gridAccount.getDefaultResource();
- if (defResc != null) {
- txtDefaultResource.setText(defResc);
- }
-
- String initPath = gridAccount.getDefaultPath();
- if (initPath != null) {
- txtInitialPath.setText(initPath);
- }
-
- String comment = gridAccount.getComment();
- if (comment != null) {
- textareaComment.setText(comment);
- }
- }
-
- private void initAuthSchemesCombo() {
- cbAuthScheme.setModel(new DefaultComboBoxModel(GDropAuthScheme.values()));
- // also select correct auth scheme for this grid
- cbAuthScheme.setSelectedItem(gridAccount.getAuthScheme());
- }
-
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
@@ -123,6 +49,7 @@ public class GDropLoginDialog extends javax.swing.JDialog {
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
+ java.awt.GridBagConstraints gridBagConstraints;
pnlStandardLogin = new javax.swing.JPanel();
lblHost = new javax.swing.JLabel();
@@ -131,276 +58,251 @@ public class GDropLoginDialog extends javax.swing.JDialog {
txtPort = new javax.swing.JTextField();
lblZone = new javax.swing.JLabel();
lblZoneValue = new javax.swing.JLabel();
- lblUser = new javax.swing.JLabel();
- lblUserName = new javax.swing.JLabel();
+ lblUsername = new javax.swing.JLabel();
+ txtUsername = new javax.swing.JTextField();
+ lblPassword = new javax.swing.JLabel();
+ txtPassword = new javax.swing.JPasswordField();
+ lblVerifyPassword = new javax.swing.JLabel();
+ txtVerifyPassword = new javax.swing.JPasswordField();
+ lblAuthScheme = new javax.swing.JLabel();
+ cbAuthScheme = new javax.swing.JComboBox();
+ lblDefaultResource = new javax.swing.JLabel();
txtDefaultResource = new javax.swing.JTextField();
lblStartingCollection = new javax.swing.JLabel();
txtInitialPath = new javax.swing.JTextField();
- lblAuthorozationScheme = new javax.swing.JLabel();
- cbAuthScheme = new javax.swing.JComboBox();
lblComment = new javax.swing.JLabel();
jScrollPane1 = new javax.swing.JScrollPane();
- textareaComment = new javax.swing.JTextArea();
- txtPassword = new javax.swing.JPasswordField();
- lblPassword = new javax.swing.JLabel();
- lblConfirmPassword = new javax.swing.JLabel();
- txtVerifyPassword = new javax.swing.JPasswordField();
- txtUsername = new javax.swing.JTextField();
- pnlButtonsPanel = new javax.swing.JPanel();
+ txtComment = new javax.swing.JTextField();
+ pnlButtons = new javax.swing.JPanel();
btnCancel = new javax.swing.JButton();
btnOK = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
+ getContentPane().setLayout(new java.awt.GridBagLayout());
- pnlStandardLogin.setBorder(javax.swing.BorderFactory.createEmptyBorder(20, 10, 4, 10));
- pnlStandardLogin.setPreferredSize(new java.awt.Dimension(382, 370));
+ pnlStandardLogin.setPreferredSize(new java.awt.Dimension(450, 300));
+ pnlStandardLogin.setLayout(new java.awt.GridBagLayout());
- lblHost.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
- lblHost.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblHost.text")); // NOI18N
+ lblHost.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblHost.text_1")); // NOI18N
+ lblHost.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
+ lblHost.setPreferredSize(new java.awt.Dimension(150, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 0;
+ pnlStandardLogin.add(lblHost, gridBagConstraints);
lblHostAddress.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblHostAddress.text")); // NOI18N
- lblHostAddress.setPreferredSize(new java.awt.Dimension(0, 28));
-
- lblPort.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
- lblPort.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblPort.text")); // NOI18N
- lblPort.setPreferredSize(new java.awt.Dimension(29, 28));
+ lblHostAddress.setPreferredSize(new java.awt.Dimension(180, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 1;
+ gridBagConstraints.gridy = 0;
+ pnlStandardLogin.add(lblHostAddress, gridBagConstraints);
+
+ lblPort.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblPort.text_1")); // NOI18N
+ lblPort.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
+ lblPort.setPreferredSize(new java.awt.Dimension(150, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 1;
+ pnlStandardLogin.add(lblPort, gridBagConstraints);
txtPort.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.txtPort.text")); // NOI18N
- txtPort.setPreferredSize(new java.awt.Dimension(200, 28));
-
- lblZone.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
- lblZone.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblZone.text")); // NOI18N
+ txtPort.setPreferredSize(new java.awt.Dimension(180, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 1;
+ gridBagConstraints.gridy = 1;
+ pnlStandardLogin.add(txtPort, gridBagConstraints);
+
+ lblZone.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblZone.text_1")); // NOI18N
+ lblZone.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
+ lblZone.setPreferredSize(new java.awt.Dimension(150, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 2;
+ pnlStandardLogin.add(lblZone, gridBagConstraints);
lblZoneValue.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblZoneValue.text")); // NOI18N
- lblZoneValue.setPreferredSize(new java.awt.Dimension(0, 28));
-
- lblUser.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
- lblUser.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblUser.text")); // NOI18N
-
- lblUserName.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
- lblUserName.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblUserName.text")); // NOI18N
+ lblZoneValue.setPreferredSize(new java.awt.Dimension(180, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 1;
+ gridBagConstraints.gridy = 2;
+ pnlStandardLogin.add(lblZoneValue, gridBagConstraints);
+
+ lblUsername.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblUsername.text_1")); // NOI18N
+ lblUsername.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
+ lblUsername.setPreferredSize(new java.awt.Dimension(150, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 3;
+ pnlStandardLogin.add(lblUsername, gridBagConstraints);
- txtDefaultResource.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.txtDefaultResource.text")); // NOI18N
- txtDefaultResource.setPreferredSize(new java.awt.Dimension(200, 28));
-
- lblStartingCollection.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
- lblStartingCollection.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblStartingCollection.text")); // NOI18N
+ txtUsername.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.txtUsername.text")); // NOI18N
+ txtUsername.setPreferredSize(new java.awt.Dimension(180, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 1;
+ gridBagConstraints.gridy = 3;
+ pnlStandardLogin.add(txtUsername, gridBagConstraints);
- txtInitialPath.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.txtInitialPath.text")); // NOI18N
+ lblPassword.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblPassword.text")); // NOI18N
+ lblPassword.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
+ lblPassword.setPreferredSize(new java.awt.Dimension(150, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 4;
+ pnlStandardLogin.add(lblPassword, gridBagConstraints);
- lblAuthorozationScheme.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
- lblAuthorozationScheme.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblAuthorozationScheme.text")); // NOI18N
+ txtPassword.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.txtPassword.text")); // NOI18N
+ txtPassword.setPreferredSize(new java.awt.Dimension(180, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 1;
+ gridBagConstraints.gridy = 4;
+ pnlStandardLogin.add(txtPassword, gridBagConstraints);
+
+ lblVerifyPassword.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblVerifyPassword.text")); // NOI18N
+ lblVerifyPassword.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
+ lblVerifyPassword.setPreferredSize(new java.awt.Dimension(150, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 5;
+ pnlStandardLogin.add(lblVerifyPassword, gridBagConstraints);
+ txtVerifyPassword.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.txtVerifyPassword.text")); // NOI18N
+ txtVerifyPassword.setPreferredSize(new java.awt.Dimension(180, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 1;
+ gridBagConstraints.gridy = 5;
+ pnlStandardLogin.add(txtVerifyPassword, gridBagConstraints);
+
+ lblAuthScheme.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblAuthScheme.text_1")); // NOI18N
+ lblAuthScheme.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
+ lblAuthScheme.setPreferredSize(new java.awt.Dimension(150, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 6;
+ pnlStandardLogin.add(lblAuthScheme, gridBagConstraints);
+
+ cbAuthScheme.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
+ cbAuthScheme.setPreferredSize(new java.awt.Dimension(180, 25));
cbAuthScheme.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cbAuthSchemeActionPerformed(evt);
}
});
- cbAuthScheme.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
- public void propertyChange(java.beans.PropertyChangeEvent evt) {
- cbAuthSchemePropertyChange(evt);
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 1;
+ gridBagConstraints.gridy = 6;
+ pnlStandardLogin.add(cbAuthScheme, gridBagConstraints);
+
+ lblDefaultResource.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblDefaultResource.text")); // NOI18N
+ lblDefaultResource.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
+ lblDefaultResource.setPreferredSize(new java.awt.Dimension(150, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 7;
+ pnlStandardLogin.add(lblDefaultResource, gridBagConstraints);
+
+ txtDefaultResource.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.txtDefaultResource.text")); // NOI18N
+ txtDefaultResource.setPreferredSize(new java.awt.Dimension(180, 25));
+ txtDefaultResource.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ txtDefaultResourceActionPerformed(evt);
}
});
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 1;
+ gridBagConstraints.gridy = 7;
+ pnlStandardLogin.add(txtDefaultResource, gridBagConstraints);
- lblComment.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
- lblComment.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblComment.text")); // NOI18N
-
- jScrollPane1.setPreferredSize(new java.awt.Dimension(224, 84));
-
- textareaComment.setColumns(20);
- textareaComment.setRows(5);
- jScrollPane1.setViewportView(textareaComment);
-
- txtPassword.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.txtPassword.text")); // NOI18N
-
- lblPassword.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
- lblPassword.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblPassword.text")); // NOI18N
-
- lblConfirmPassword.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
- lblConfirmPassword.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblConfirmPassword.text")); // NOI18N
-
- txtVerifyPassword.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.txtVerifyPassword.text")); // NOI18N
-
- txtUsername.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.txtUsername.text")); // NOI18N
- txtUsername.setPreferredSize(new java.awt.Dimension(200, 28));
- txtUsername.addActionListener(new java.awt.event.ActionListener() {
+ lblStartingCollection.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblStartingCollection.text")); // NOI18N
+ lblStartingCollection.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
+ lblStartingCollection.setPreferredSize(new java.awt.Dimension(150, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 8;
+ pnlStandardLogin.add(lblStartingCollection, gridBagConstraints);
+
+ txtInitialPath.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.txtInitialPath.text_1")); // NOI18N
+ txtInitialPath.setPreferredSize(new java.awt.Dimension(180, 25));
+ txtInitialPath.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
- txtUsernameActionPerformed(evt);
+ txtInitialPathActionPerformed(evt);
}
});
-
- org.jdesktop.layout.GroupLayout pnlStandardLoginLayout = new org.jdesktop.layout.GroupLayout(pnlStandardLogin);
- pnlStandardLogin.setLayout(pnlStandardLoginLayout);
- pnlStandardLoginLayout.setHorizontalGroup(
- pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlStandardLoginLayout.createSequentialGroup()
- .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
- .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(1, 1, 1)
- .add(lblHost))
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(10, 10, 10)
- .add(lblPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
- .add(lblZone)))
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(34, 34, 34)
- .add(lblConfirmPassword))
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(41, 41, 41)
- .add(lblUserName))
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(31, 31, 31)
- .add(lblStartingCollection))
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(10, 10, 10)
- .add(lblAuthorozationScheme))
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(87, 87, 87)
- .add(lblComment))
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(89, 89, 89)
- .add(lblPassword))
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(116, 116, 116)
- .add(lblUser)))
- .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, cbAuthScheme, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, txtInitialPath, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, txtDefaultResource, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, txtVerifyPassword, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, txtPassword, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, txtUsername, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 167, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, lblZoneValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 230, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, txtPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, lblHostAddress, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 221, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
- .addContainerGap())
- );
- pnlStandardLoginLayout.setVerticalGroup(
- pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(lblHost)
- .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(6, 6, 6)
- .add(lblPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 16, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
- .add(txtPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
- .add(org.jdesktop.layout.GroupLayout.LEADING, pnlStandardLoginLayout.createSequentialGroup()
- .add(lblHostAddress, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(23, 23, 23)))
- .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(lblZone)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlStandardLoginLayout.createSequentialGroup()
- .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
- .add(lblZoneValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
- .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(lblUser)
- .add(txtUsername, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
- .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(6, 6, 6)
- .add(lblPassword))
- .add(txtPassword, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
- .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(6, 6, 6)
- .add(lblConfirmPassword))
- .add(txtVerifyPassword, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
- .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(6, 6, 6)
- .add(lblUserName))
- .add(txtDefaultResource, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
- .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(6, 6, 6)
- .add(lblStartingCollection))
- .add(txtInitialPath, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
- .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlStandardLoginLayout.createSequentialGroup()
- .add(5, 5, 5)
- .add(lblAuthorozationScheme))
- .add(cbAuthScheme, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
- .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(lblComment)
- .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 23, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
- );
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 1;
+ gridBagConstraints.gridy = 8;
+ pnlStandardLogin.add(txtInitialPath, gridBagConstraints);
+
+ lblComment.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.lblComment.text_1")); // NOI18N
+ lblComment.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
+ lblComment.setPreferredSize(new java.awt.Dimension(150, 25));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 9;
+ pnlStandardLogin.add(lblComment, gridBagConstraints);
+
+ jScrollPane1.setPreferredSize(new java.awt.Dimension(180, 60));
+
+ txtComment.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.txtComment.text")); // NOI18N
+ txtComment.setPreferredSize(new java.awt.Dimension(180, 25));
+ jScrollPane1.setViewportView(txtComment);
+
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 1;
+ gridBagConstraints.gridy = 9;
+ gridBagConstraints.gridheight = 3;
+ pnlStandardLogin.add(jScrollPane1, gridBagConstraints);
+
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 0;
+ getContentPane().add(pnlStandardLogin, gridBagConstraints);
+
+ pnlButtons.setPreferredSize(new java.awt.Dimension(200, 60));
btnCancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/irods/jargon/idrop/desktop/systraygui/images/glyphicons_192_circle_remove.png"))); // NOI18N
btnCancel.setMnemonic('C');
btnCancel.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.btnCancel.text")); // NOI18N
- btnCancel.setToolTipText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.btnCancel.toolTipText")); // NOI18N
+ btnCancel.setToolTipText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.btnCancel.toolTipText_1")); // NOI18N
btnCancel.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnCancelActionPerformed(evt);
}
});
+ pnlButtons.add(btnCancel);
btnOK.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/irods/jargon/idrop/desktop/systraygui/images/glyphicons_193_circle_ok.png"))); // NOI18N
btnOK.setMnemonic('O');
btnOK.setText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.btnOK.text")); // NOI18N
- btnOK.setToolTipText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.btnOK.toolTipText")); // NOI18N
+ btnOK.setToolTipText(org.openide.util.NbBundle.getMessage(GDropLoginDialog.class, "GDropLoginDialog.btnOK.toolTipText_1")); // NOI18N
btnOK.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnOKActionPerformed(evt);
}
});
+ pnlButtons.add(btnOK);
- org.jdesktop.layout.GroupLayout pnlButtonsPanelLayout = new org.jdesktop.layout.GroupLayout(pnlButtonsPanel);
- pnlButtonsPanel.setLayout(pnlButtonsPanelLayout);
- pnlButtonsPanelLayout.setHorizontalGroup(
- pnlButtonsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlButtonsPanelLayout.createSequentialGroup()
- .addContainerGap(59, Short.MAX_VALUE)
- .add(btnCancel)
- .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
- .add(btnOK)
- .addContainerGap())
- );
- pnlButtonsPanelLayout.setVerticalGroup(
- pnlButtonsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlButtonsPanelLayout.createSequentialGroup()
- .addContainerGap(10, Short.MAX_VALUE)
- .add(pnlButtonsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(btnCancel)
- .add(btnOK))
- .addContainerGap())
- );
-
- org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
- getContentPane().setLayout(layout);
- layout.setHorizontalGroup(
- layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(layout.createSequentialGroup()
- .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
- .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
- .add(pnlButtonsPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(17, 17, 17))
- .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
- .add(pnlStandardLogin, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 420, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .addContainerGap())))
- );
- layout.setVerticalGroup(
- layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
- .add(pnlStandardLogin, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 344, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 9, Short.MAX_VALUE)
- .add(pnlButtonsPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .addContainerGap())
- );
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 1;
+ gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
+ getContentPane().add(pnlButtons, gridBagConstraints);
pack();
}// </editor-fold>//GEN-END:initComponents
+ private void cbAuthSchemeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbAuthSchemeActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_cbAuthSchemeActionPerformed
+
+ private void txtDefaultResourceActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtDefaultResourceActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_txtDefaultResourceActionPerformed
+
+ private void txtInitialPathActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtInitialPathActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_txtInitialPathActionPerformed
+
private void btnCancelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelActionPerformed
this.dispose();
}//GEN-LAST:event_btnCancelActionPerformed
@@ -419,8 +321,8 @@ public class GDropLoginDialog extends javax.swing.JDialog {
// now see if there is a comment to add to gridaccount
String comment = "";
- if ((textareaComment.getText() != null) || (!textareaComment.getText().isEmpty())) {
- comment = textareaComment.getText().trim();
+ if ((txtComment.getText() != null) || (!txtComment.getText().isEmpty())) {
+ comment = txtComment.getText().trim();
}
try {
@@ -430,7 +332,7 @@ public class GDropLoginDialog extends javax.swing.JDialog {
// gridAccountService.addOrUpdateGridAccountBasedOnIRODSAccount(gridInfo, comment);
} catch (PassPhraseInvalidException ex) {
gridInfo = null;
- Logger.getLogger(GDropLoginDialog.class.getName()).log(
+ Logger.getLogger(GDropOldLoginDialog.class.getName()).log(
Level.SEVERE, null, ex);
JOptionPane.showMessageDialog(
this,
@@ -438,39 +340,115 @@ public class GDropLoginDialog extends javax.swing.JDialog {
"Edit Grid Account", JOptionPane.ERROR_MESSAGE);
} catch (ConveyorExecutionException ex) {
gridInfo = null;
- Logger.getLogger(GDropLoginDialog.class.getName()).log(
+ Logger.getLogger(GDropOldLoginDialog.class.getName()).log(
Level.SEVERE, null, ex);
}
-
this.dispose();
}
}//GEN-LAST:event_btnOKActionPerformed
- private void txtUsernameActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtUsernameActionPerformed
- // TODO add your handling code here:
- }//GEN-LAST:event_txtUsernameActionPerformed
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton btnCancel;
+ private javax.swing.JButton btnOK;
+ private javax.swing.JComboBox cbAuthScheme;
+ private javax.swing.JScrollPane jScrollPane1;
+ private javax.swing.JLabel lblAuthScheme;
+ private javax.swing.JLabel lblComment;
+ private javax.swing.JLabel lblDefaultResource;
+ private javax.swing.JLabel lblHost;
+ private javax.swing.JLabel lblHostAddress;
+ private javax.swing.JLabel lblPassword;
+ private javax.swing.JLabel lblPort;
+ private javax.swing.JLabel lblStartingCollection;
+ private javax.swing.JLabel lblUsername;
+ private javax.swing.JLabel lblVerifyPassword;
+ private javax.swing.JLabel lblZone;
+ private javax.swing.JLabel lblZoneValue;
+ private javax.swing.JPanel pnlButtons;
+ private javax.swing.JPanel pnlStandardLogin;
+ private javax.swing.JTextField txtComment;
+ private javax.swing.JTextField txtDefaultResource;
+ private javax.swing.JTextField txtInitialPath;
+ private javax.swing.JPasswordField txtPassword;
+ private javax.swing.JTextField txtPort;
+ private javax.swing.JTextField txtUsername;
+ private javax.swing.JPasswordField txtVerifyPassword;
+ // End of variables declaration//GEN-END:variables
- private void cbAuthSchemePropertyChange(java.beans.PropertyChangeEvent evt) {//GEN-FIRST:event_cbAuthSchemePropertyChange
- // TODO add your handling code here:
- }//GEN-LAST:event_cbAuthSchemePropertyChange
+ private void populateGridAccountInfo() {
+ GDropAuthScheme authScheme = gridAccount.getGDropAuthScheme();
+
+ String host = gridAccount.getHost();
+ if (host != null) {
+ lblHostAddress.setText(host);
+ }
+
+ int port = gridAccount.getPort();
+ txtPort.setText(String.valueOf(port));
+
+ String zone = gridAccount.getZone();
+ if (zone != null) {
+ lblZoneValue.setText(zone);
+ }
+
+ String user = gridAccount.getUserName();
+ if (user != null) {
+ txtUsername.setText(user);
+ }
+
+ // need to get plain test password
+ GridAccountService gridAccountService = idropCore.getConveyorService().getGridAccountService();
+ IRODSAccount irodAccountForPswd = null;
+ String pswd = null;
+ try {
+ irodAccountForPswd = gridAccountService.irodsAccountForGridAccount(gridAccount);
+ } catch (ConveyorExecutionException ex) {
+ Logger.getLogger(GDropOldLoginDialog.class.getName()).log(
+ Level.SEVERE, null, ex);
+ JOptionPane.showMessageDialog(
+ this,
+ "Could not retrieve stored password for this account.",
+ "Edit Grid Account", JOptionPane.ERROR_MESSAGE);
+ } catch (Exception e) {
+ // Account not found, but this is expected situation in case default grid is created in GridMemoryDialog
+ // QCG-Data specific feature
+ Logger.getLogger(GDropOldLoginDialog.class.getName()).log(
+ Level.INFO, null, e);
+// JOptionPane.showMessageDialog(
+// this,
+// "No user name and password.",
+// "Edit Grid Account", JOptionPane.ERROR_MESSAGE);
+ }
+ if (irodAccountForPswd != null) {
+ pswd = irodAccountForPswd.getPassword();
+ }
+ if (pswd != null) {
+ txtPassword.setText(pswd);
+ txtVerifyPassword.setText(pswd);
+ }
+
+ String defResc = gridAccount.getDefaultResource();
+ if (defResc != null) {
+ txtDefaultResource.setText(defResc);
+ }
+
+ String initPath = gridAccount.getDefaultPath();
+ if (initPath != null) {
+ txtInitialPath.setText(initPath);
+ }
+
+ String comment = gridAccount.getComment();
+ if (comment != null) {
+ txtComment.setText(comment);
+ }
+ }
- private void cbAuthSchemeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbAuthSchemeActionPerformed
- // TODO add your handling code here:
- int index = cbAuthScheme.getSelectedIndex();
- switch (index) {
- case STANDARD:
- pnlStandardLogin.setVisible(true);
- break;
- case GSI:
- pnlStandardLogin.setVisible(false);
- break;
- case KEYFS:
- pnlStandardLogin.setVisible(false);
- break;
- }
- }//GEN-LAST:event_cbAuthSchemeActionPerformed
+ private void initAuthSchemesCombo() {
+ cbAuthScheme.setModel(new DefaultComboBoxModel(GDropAuthScheme.values()));
+ // also select correct auth scheme for this grid
+ cbAuthScheme.setSelectedItem(gridAccount.getGDropAuthScheme());
+ }
-
private GDropIRODSAccount createIRODSAccountFromForm() {
GDropIRODSAccount acct = null;
@@ -546,32 +524,4 @@ public class GDropLoginDialog extends javax.swing.JDialog {
return acct;
}
-
- // Variables declaration - do not modify//GEN-BEGIN:variables
- private javax.swing.JButton btnCancel;
- private javax.swing.JButton btnOK;
- private javax.swing.JComboBox cbAuthScheme;
- private javax.swing.JScrollPane jScrollPane1;
- private javax.swing.JLabel lblAuthorozationScheme;
- private javax.swing.JLabel lblComment;
- private javax.swing.JLabel lblConfirmPassword;
- private javax.swing.JLabel lblHost;
- private javax.swing.JLabel lblHostAddress;
- private javax.swing.JLabel lblPassword;
- private javax.swing.JLabel lblPort;
- private javax.swing.JLabel lblStartingCollection;
- private javax.swing.JLabel lblUser;
- private javax.swing.JLabel lblUserName;
- private javax.swing.JLabel lblZone;
- private javax.swing.JLabel lblZoneValue;
- private javax.swing.JPanel pnlButtonsPanel;
- private javax.swing.JPanel pnlStandardLogin;
- private javax.swing.JTextArea textareaComment;
- private javax.swing.JTextField txtDefaultResource;
- private javax.swing.JTextField txtInitialPath;
- private javax.swing.JPasswordField txtPassword;
- private javax.swing.JTextField txtPort;
- private javax.swing.JTextField txtUsername;
- private javax.swing.JPasswordField txtVerifyPassword;
- // End of variables declaration//GEN-END:variables
}
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropOldLoginDialog.form b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropOldLoginDialog.form
new file mode 100644
index 0000000..83a5d55
--- /dev/null
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropOldLoginDialog.form
@@ -0,0 +1,1239 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<Form version="1.8" maxVersion="1.8" type="org.netbeans.modules.form.forminfo.JDialogFormInfo">
+ <Properties>
+ <Property name="defaultCloseOperation" type="int" value="2"/>
+ </Properties>
+ <SyntheticProperties>
+ <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
+ <SyntheticProperty name="generateCenter" type="boolean" value="false"/>
+ </SyntheticProperties>
+ <AuxValues>
+ <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
+ <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
+ <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="true"/>
+ <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
+ <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
+ <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
+ <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,-99,0,0,6,-112"/>
+ </AuxValues>
+ <SubComponents>
+ <Container class="javax.swing.JPanel" name="pnlStandardLogin">
+ <Properties>
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
+ <Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo">
+ <EmptyBorder bottom="4" left="10" right="10" top="20"/>
+ </Border>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[450, 500]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="1" attributes="0">
+ <EmptySpace min="40" pref="143" max="32767" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="1" pref="1" max="-2" attributes="0"/>
+ <Component id="lblHost" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="-2" pref="10" max="-2" attributes="0"/>
+ <Component id="lblPort" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="lblZone" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="34" pref="34" max="-2" attributes="0"/>
+ <Component id="lblConfirmPassword" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="41" pref="41" max="-2" attributes="0"/>
+ <Component id="lblUserName" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="31" pref="31" max="-2" attributes="0"/>
+ <Component id="lblStartingCollection" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="10" pref="10" max="-2" attributes="0"/>
+ <Component id="lblAuthorozationScheme" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="87" pref="87" max="-2" attributes="0"/>
+ <Component id="lblComment" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="89" pref="89" max="-2" attributes="0"/>
+ <Component id="lblPassword" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="116" pref="116" max="-2" attributes="0"/>
+ <Component id="lblUser" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="jScrollPane1" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="cbAuthScheme" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="txtInitialPath" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="txtDefaultResource" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="txtVerifyPassword" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="txtPassword" linkSize="1" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="txtUsername" linkSize="1" alignment="1" min="-2" pref="167" max="-2" attributes="0"/>
+ <Component id="lblZoneValue" alignment="1" min="-2" pref="230" max="-2" attributes="0"/>
+ <Component id="txtPort" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="lblHostAddress" alignment="1" min="-2" pref="221" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Group type="103" groupAlignment="1" attributes="0">
+ <Group type="102" alignment="1" attributes="0">
+ <Component id="lblHost" min="-2" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="6" pref="6" max="-2" attributes="0"/>
+ <Component id="lblPort" min="-2" pref="16" max="-2" attributes="0"/>
+ </Group>
+ <Component id="txtPort" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="lblHostAddress" min="-2" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="23" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="lblZone" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Group type="102" alignment="1" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="lblZoneValue" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="lblUser" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="txtUsername" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="6" pref="6" max="-2" attributes="0"/>
+ <Component id="lblPassword" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="txtPassword" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="6" pref="6" max="-2" attributes="0"/>
+ <Component id="lblConfirmPassword" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="txtVerifyPassword" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="6" pref="6" max="-2" attributes="0"/>
+ <Component id="lblUserName" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="txtDefaultResource" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="6" pref="6" max="-2" attributes="0"/>
+ <Component id="lblStartingCollection" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="txtInitialPath" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="5" pref="5" max="-2" attributes="0"/>
+ <Component id="lblAuthorozationScheme" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="cbAuthScheme" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="lblComment" min="-2" max="-2" attributes="0"/>
+ <Component id="jScrollPane1" min="-2" pref="39" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JLabel" name="lblHost">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblHost.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblHostAddress">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblHostAddress.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[0, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblPort">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblPort.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[29, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="txtPort">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.txtPort.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[200, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblZone">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblZone.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblZoneValue">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblZoneValue.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[0, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblUser">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblUser.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblUserName">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblUserName.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="txtDefaultResource">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.txtDefaultResource.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[200, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblStartingCollection">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblStartingCollection.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="txtInitialPath">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.txtInitialPath.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblAuthorozationScheme">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblAuthorozationScheme.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JComboBox" name="cbAuthScheme">
+ <Properties>
+ <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
+ <StringArray count="0"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cbAuthSchemeActionPerformed"/>
+ <EventHandler event="propertyChange" listener="java.beans.PropertyChangeListener" parameters="java.beans.PropertyChangeEvent" handler="cbAuthSchemePropertyChange"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblComment">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblComment.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Container class="javax.swing.JScrollPane" name="jScrollPane1">
+ <Properties>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[224, 84]"/>
+ </Property>
+ </Properties>
+ <AuxValues>
+ <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
+ </AuxValues>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ <SubComponents>
+ <Component class="javax.swing.JTextArea" name="textareaComment">
+ <Properties>
+ <Property name="columns" type="int" value="20"/>
+ <Property name="rows" type="int" value="5"/>
+ </Properties>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Component class="javax.swing.JPasswordField" name="txtPassword">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.txtPassword.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblPassword">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblPassword.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblConfirmPassword">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblConfirmPassword.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JPasswordField" name="txtVerifyPassword">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.txtVerifyPassword.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="txtUsername">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.txtUsername.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[200, 28]"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtUsernameActionPerformed"/>
+ </Events>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="pnlGSILogin">
+ <Properties>
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
+ <Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo">
+ <EmptyBorder bottom="4" left="10" right="10" top="20"/>
+ </Border>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[450, 500]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="1" attributes="0">
+ <EmptySpace min="40" pref="143" max="32767" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="1" pref="1" max="-2" attributes="0"/>
+ <Component id="lblHost1" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="-2" pref="10" max="-2" attributes="0"/>
+ <Component id="lblPort1" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="lblZone1" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="31" pref="31" max="-2" attributes="0"/>
+ <Component id="lblStartingCollection1" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="10" pref="10" max="-2" attributes="0"/>
+ <Component id="lblAuthorozationScheme1" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="87" pref="87" max="-2" attributes="0"/>
+ <Component id="lblComment1" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="jScrollPane2" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="cbAuthScheme1" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="txtInitialPath1" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="txtDefaultResource1" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="lblZoneValue1" alignment="1" min="-2" pref="230" max="-2" attributes="0"/>
+ <Component id="txtPort1" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="lblHostAddress1" alignment="1" min="-2" pref="221" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Group type="103" groupAlignment="1" attributes="0">
+ <Group type="102" alignment="1" attributes="0">
+ <Component id="lblHost1" min="-2" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="6" pref="6" max="-2" attributes="0"/>
+ <Component id="lblPort1" min="-2" pref="16" max="-2" attributes="0"/>
+ </Group>
+ <Component id="txtPort1" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="lblHostAddress1" min="-2" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="23" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="lblZone1" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Group type="102" alignment="1" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="lblZoneValue1" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace min="-2" pref="96" max="-2" attributes="0"/>
+ <Component id="txtDefaultResource1" min="-2" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="6" pref="6" max="-2" attributes="0"/>
+ <Component id="lblStartingCollection1" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="txtInitialPath1" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="5" pref="5" max="-2" attributes="0"/>
+ <Component id="lblAuthorozationScheme1" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="cbAuthScheme1" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="lblComment1" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="jScrollPane2" alignment="0" min="-2" pref="39" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JLabel" name="lblHost1">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblHost1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblHostAddress1">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblHostAddress1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[0, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblPort1">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblPort1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[29, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="txtPort1">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.txtPort1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[200, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblZone1">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblZone1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblZoneValue1">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblZoneValue1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[0, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="txtDefaultResource1">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.txtDefaultResource1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[200, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblStartingCollection1">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblStartingCollection1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="txtInitialPath1">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.txtInitialPath1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblAuthorozationScheme1">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblAuthorozationScheme1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JComboBox" name="cbAuthScheme1">
+ <Properties>
+ <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
+ <StringArray count="0"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cbAuthScheme1ActionPerformed"/>
+ <EventHandler event="propertyChange" listener="java.beans.PropertyChangeListener" parameters="java.beans.PropertyChangeEvent" handler="cbAuthScheme1PropertyChange"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblComment1">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblComment1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Container class="javax.swing.JScrollPane" name="jScrollPane2">
+ <Properties>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[224, 84]"/>
+ </Property>
+ </Properties>
+ <AuxValues>
+ <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
+ </AuxValues>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ <SubComponents>
+ <Component class="javax.swing.JTextArea" name="textareaComment1">
+ <Properties>
+ <Property name="columns" type="int" value="20"/>
+ <Property name="rows" type="int" value="5"/>
+ </Properties>
+ </Component>
+ </SubComponents>
+ </Container>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="pnlKeyFSLogin">
+ <Properties>
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
+ <Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo">
+ <EmptyBorder bottom="4" left="10" right="10" top="20"/>
+ </Border>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[450, 500]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="1" attributes="0">
+ <EmptySpace min="40" pref="143" max="32767" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="1" pref="1" max="-2" attributes="0"/>
+ <Component id="lblHost2" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="-2" pref="10" max="-2" attributes="0"/>
+ <Component id="lblPort2" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="lblZone2" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="31" pref="31" max="-2" attributes="0"/>
+ <Component id="lblStartingCollection2" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="10" pref="10" max="-2" attributes="0"/>
+ <Component id="lblAuthorozationScheme2" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="87" pref="87" max="-2" attributes="0"/>
+ <Component id="lblComment2" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="jScrollPane3" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="cbAuthScheme2" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="txtInitialPath2" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="txtDefaultResource2" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="txtUsername2" alignment="1" min="-2" pref="167" max="-2" attributes="0"/>
+ <Component id="lblZoneValue2" alignment="1" min="-2" pref="230" max="-2" attributes="0"/>
+ <Component id="txtPort2" alignment="1" min="-2" pref="236" max="-2" attributes="0"/>
+ <Component id="lblHostAddress2" alignment="1" min="-2" pref="221" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Group type="103" groupAlignment="1" attributes="0">
+ <Group type="102" alignment="1" attributes="0">
+ <Component id="lblHost2" min="-2" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="6" pref="6" max="-2" attributes="0"/>
+ <Component id="lblPort2" min="-2" pref="16" max="-2" attributes="0"/>
+ </Group>
+ <Component id="txtPort2" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="lblHostAddress2" min="-2" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="23" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="lblZone2" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Group type="102" alignment="1" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="lblZoneValue2" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="txtUsername2" min="-2" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="62" max="-2" attributes="0"/>
+ <Component id="txtDefaultResource2" min="-2" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="6" pref="6" max="-2" attributes="0"/>
+ <Component id="lblStartingCollection2" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="txtInitialPath2" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="5" pref="5" max="-2" attributes="0"/>
+ <Component id="lblAuthorozationScheme2" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="cbAuthScheme2" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="lblComment2" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="jScrollPane3" alignment="0" min="-2" pref="39" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JLabel" name="lblHost2">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblHost2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblHostAddress2">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblHostAddress2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[0, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblPort2">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblPort2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[29, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="txtPort2">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.txtPort2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[200, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblZone2">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblZone2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblZoneValue2">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblZoneValue2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[0, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="txtDefaultResource2">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.txtDefaultResource2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[200, 28]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblStartingCollection2">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblStartingCollection2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="txtInitialPath2">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.txtInitialPath2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblAuthorozationScheme2">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblAuthorozationScheme2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JComboBox" name="cbAuthScheme2">
+ <Properties>
+ <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
+ <StringArray count="0"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cbAuthScheme2ActionPerformed"/>
+ <EventHandler event="propertyChange" listener="java.beans.PropertyChangeListener" parameters="java.beans.PropertyChangeEvent" handler="cbAuthScheme2PropertyChange"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JLabel" name="lblComment2">
+ <Properties>
+ <Property name="horizontalAlignment" type="int" value="4"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.lblComment2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Container class="javax.swing.JScrollPane" name="jScrollPane3">
+ <Properties>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[224, 84]"/>
+ </Property>
+ </Properties>
+ <AuxValues>
+ <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
+ </AuxValues>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ <SubComponents>
+ <Component class="javax.swing.JTextArea" name="textareaComment2">
+ <Properties>
+ <Property name="columns" type="int" value="20"/>
+ <Property name="rows" type="int" value="5"/>
+ </Properties>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Component class="javax.swing.JTextField" name="txtUsername2">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.txtUsername2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[200, 28]"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtUsername2ActionPerformed"/>
+ </Events>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="pnlButtonsPanel">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="1" attributes="0">
+ <EmptySpace max="32767" attributes="0"/>
+ <Component id="btnCancel" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="btnOK" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="1" attributes="0">
+ <EmptySpace max="32767" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="btnCancel" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="btnOK" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JButton" name="btnCancel">
+ <Properties>
+ <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
+ <Image iconType="3" name="/org/irods/jargon/idrop/desktop/systraygui/images/glyphicons_192_circle_remove.png"/>
+ </Property>
+ <Property name="mnemonic" type="int" value="67"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.btnCancel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.btnCancel.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnCancelActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JButton" name="btnOK">
+ <Properties>
+ <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
+ <Image iconType="3" name="/org/irods/jargon/idrop/desktop/systraygui/images/glyphicons_193_circle_ok.png"/>
+ </Property>
+ <Property name="mnemonic" type="int" value="79"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.btnOK.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/desktop/gdrop/Bundle.properties" key="GDropOldLoginDialog.btnOK.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnOKActionPerformed"/>
+ </Events>
+ </Component>
+ </SubComponents>
+ </Container>
+ </SubComponents>
+ <LayoutCode>
+ <CodeStatement>
+ <CodeExpression id="1_layout">
+ <CodeVariable name="layout" type="4096" declaredType="java.awt.GridBagLayout"/>
+ <ExpressionOrigin>
+ <ExpressionProvider type="CodeConstructor">
+ <CodeConstructor class="java.awt.GridBagLayout" parameterTypes=""/>
+ </ExpressionProvider>
+ </ExpressionOrigin>
+ </CodeExpression>
+ <StatementProvider type="CodeExpression">
+ <CodeExpression id="1_layout"/>
+ </StatementProvider>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="1_layout"/>
+ <StatementProvider type="CodeField">
+ <CodeField name="columnWidths" class="java.awt.GridBagLayout"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="2">
+ <ExpressionOrigin>
+ <Value type="[I" editor="org.netbeans.modules.form.layoutsupport.delegates.GridBagLayoutSupport$IntArrayPropertyEditor">
+ <PropertyValue value="[0]"/>
+ </Value>
+ </ExpressionOrigin>
+ </CodeExpression>
+ </Parameters>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="1_layout"/>
+ <StatementProvider type="CodeField">
+ <CodeField name="rowHeights" class="java.awt.GridBagLayout"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="3">
+ <ExpressionOrigin>
+ <Value type="[I" editor="org.netbeans.modules.form.layoutsupport.delegates.GridBagLayoutSupport$IntArrayPropertyEditor">
+ <PropertyValue value="[0]"/>
+ </Value>
+ </ExpressionOrigin>
+ </CodeExpression>
+ </Parameters>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="4">
+ <ExpressionOrigin>
+ <CodeExpression id="5">
+ <ExpressionOrigin>
+ <ExpressionProvider type="ComponentRef">
+ <ComponentRef name="."/>
+ </ExpressionProvider>
+ </ExpressionOrigin>
+ </CodeExpression>
+ <ExpressionProvider type="CodeMethod">
+ <CodeMethod name="getContentPane" class="javax.swing.JDialog" parameterTypes=""/>
+ </ExpressionProvider>
+ </ExpressionOrigin>
+ </CodeExpression>
+ <StatementProvider type="CodeMethod">
+ <CodeMethod name="setLayout" class="java.awt.Container" parameterTypes="java.awt.LayoutManager"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="1_layout"/>
+ </Parameters>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="6_gridBagConstraints">
+ <CodeVariable name="gridBagConstraints" type="20480" declaredType="java.awt.GridBagConstraints"/>
+ <ExpressionOrigin>
+ <ExpressionProvider type="CodeConstructor">
+ <CodeConstructor class="java.awt.GridBagConstraints" parameterTypes=""/>
+ </ExpressionProvider>
+ </ExpressionOrigin>
+ </CodeExpression>
+ <StatementProvider type="CodeExpression">
+ <CodeExpression id="6_gridBagConstraints"/>
+ </StatementProvider>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="6_gridBagConstraints"/>
+ <StatementProvider type="CodeField">
+ <CodeField name="gridx" class="java.awt.GridBagConstraints"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="7">
+ <ExpressionOrigin>
+ <Value type="int" value="0"/>
+ </ExpressionOrigin>
+ </CodeExpression>
+ </Parameters>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="6_gridBagConstraints"/>
+ <StatementProvider type="CodeField">
+ <CodeField name="gridy" class="java.awt.GridBagConstraints"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="8">
+ <ExpressionOrigin>
+ <Value type="int" value="0"/>
+ </ExpressionOrigin>
+ </CodeExpression>
+ </Parameters>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="4"/>
+ <StatementProvider type="CodeMethod">
+ <CodeMethod name="add" class="java.awt.Container" parameterTypes="java.awt.Component, java.lang.Object"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="9_pnlStandardLogin">
+ <CodeVariable name="pnlStandardLogin" type="8194" declaredType="javax.swing.JPanel"/>
+ <ExpressionOrigin>
+ <ExpressionProvider type="ComponentRef">
+ <ComponentRef name="pnlStandardLogin"/>
+ </ExpressionProvider>
+ </ExpressionOrigin>
+ </CodeExpression>
+ <CodeExpression id="6_gridBagConstraints"/>
+ </Parameters>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="10_gridBagConstraints">
+ <CodeVariable name="gridBagConstraints"/>
+ <ExpressionOrigin>
+ <ExpressionProvider type="CodeConstructor">
+ <CodeConstructor class="java.awt.GridBagConstraints" parameterTypes=""/>
+ </ExpressionProvider>
+ </ExpressionOrigin>
+ </CodeExpression>
+ <StatementProvider type="CodeExpression">
+ <CodeExpression id="10_gridBagConstraints"/>
+ </StatementProvider>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="10_gridBagConstraints"/>
+ <StatementProvider type="CodeField">
+ <CodeField name="gridx" class="java.awt.GridBagConstraints"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="11">
+ <ExpressionOrigin>
+ <Value type="int" value="0"/>
+ </ExpressionOrigin>
+ </CodeExpression>
+ </Parameters>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="10_gridBagConstraints"/>
+ <StatementProvider type="CodeField">
+ <CodeField name="gridy" class="java.awt.GridBagConstraints"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="12">
+ <ExpressionOrigin>
+ <Value type="int" value="0"/>
+ </ExpressionOrigin>
+ </CodeExpression>
+ </Parameters>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="4"/>
+ <StatementProvider type="CodeMethod">
+ <CodeMethod name="add" class="java.awt.Container" parameterTypes="java.awt.Component, java.lang.Object"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="13_pnlGSILogin">
+ <CodeVariable name="pnlGSILogin" type="8194" declaredType="javax.swing.JPanel"/>
+ <ExpressionOrigin>
+ <ExpressionProvider type="ComponentRef">
+ <ComponentRef name="pnlGSILogin"/>
+ </ExpressionProvider>
+ </ExpressionOrigin>
+ </CodeExpression>
+ <CodeExpression id="10_gridBagConstraints"/>
+ </Parameters>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="14_gridBagConstraints">
+ <CodeVariable name="gridBagConstraints"/>
+ <ExpressionOrigin>
+ <ExpressionProvider type="CodeConstructor">
+ <CodeConstructor class="java.awt.GridBagConstraints" parameterTypes=""/>
+ </ExpressionProvider>
+ </ExpressionOrigin>
+ </CodeExpression>
+ <StatementProvider type="CodeExpression">
+ <CodeExpression id="14_gridBagConstraints"/>
+ </StatementProvider>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="14_gridBagConstraints"/>
+ <StatementProvider type="CodeField">
+ <CodeField name="gridx" class="java.awt.GridBagConstraints"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="15">
+ <ExpressionOrigin>
+ <Value type="int" value="0"/>
+ </ExpressionOrigin>
+ </CodeExpression>
+ </Parameters>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="14_gridBagConstraints"/>
+ <StatementProvider type="CodeField">
+ <CodeField name="gridy" class="java.awt.GridBagConstraints"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="16">
+ <ExpressionOrigin>
+ <Value type="int" value="0"/>
+ </ExpressionOrigin>
+ </CodeExpression>
+ </Parameters>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="4"/>
+ <StatementProvider type="CodeMethod">
+ <CodeMethod name="add" class="java.awt.Container" parameterTypes="java.awt.Component, java.lang.Object"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="17_pnlKeyFSLogin">
+ <CodeVariable name="pnlKeyFSLogin" type="8194" declaredType="javax.swing.JPanel"/>
+ <ExpressionOrigin>
+ <ExpressionProvider type="ComponentRef">
+ <ComponentRef name="pnlKeyFSLogin"/>
+ </ExpressionProvider>
+ </ExpressionOrigin>
+ </CodeExpression>
+ <CodeExpression id="14_gridBagConstraints"/>
+ </Parameters>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="18_gridBagConstraints">
+ <CodeVariable name="gridBagConstraints"/>
+ <ExpressionOrigin>
+ <ExpressionProvider type="CodeConstructor">
+ <CodeConstructor class="java.awt.GridBagConstraints" parameterTypes=""/>
+ </ExpressionProvider>
+ </ExpressionOrigin>
+ </CodeExpression>
+ <StatementProvider type="CodeExpression">
+ <CodeExpression id="18_gridBagConstraints"/>
+ </StatementProvider>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="18_gridBagConstraints"/>
+ <StatementProvider type="CodeField">
+ <CodeField name="gridx" class="java.awt.GridBagConstraints"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="19">
+ <ExpressionOrigin>
+ <Value type="int" value="0"/>
+ </ExpressionOrigin>
+ </CodeExpression>
+ </Parameters>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="18_gridBagConstraints"/>
+ <StatementProvider type="CodeField">
+ <CodeField name="gridy" class="java.awt.GridBagConstraints"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="20">
+ <ExpressionOrigin>
+ <Value type="int" value="0"/>
+ </ExpressionOrigin>
+ </CodeExpression>
+ </Parameters>
+ </CodeStatement>
+ <CodeStatement>
+ <CodeExpression id="4"/>
+ <StatementProvider type="CodeMethod">
+ <CodeMethod name="add" class="java.awt.Container" parameterTypes="java.awt.Component, java.lang.Object"/>
+ </StatementProvider>
+ <Parameters>
+ <CodeExpression id="21_pnlButtonsPanel">
+ <CodeVariable name="pnlButtonsPanel" type="8194" declaredType="javax.swing.JPanel"/>
+ <ExpressionOrigin>
+ <ExpressionProvider type="ComponentRef">
+ <ComponentRef name="pnlButtonsPanel"/>
+ </ExpressionProvider>
+ </ExpressionOrigin>
+ </CodeExpression>
+ <CodeExpression id="18_gridBagConstraints"/>
+ </Parameters>
+ </CodeStatement>
+ </LayoutCode>
+</Form>
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropOldLoginDialog.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropOldLoginDialog.java
new file mode 100644
index 0000000..d959216
--- /dev/null
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/gdrop/GDropOldLoginDialog.java
@@ -0,0 +1,936 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package org.irods.jargon.idrop.desktop.gdrop;
+
+import java.util.logging.Level;
+import java.util.logging.Logger;
+import javax.swing.DefaultComboBoxModel;
+import javax.swing.JOptionPane;
+import org.irods.jargon.conveyor.core.ConveyorExecutionException;
+import org.irods.jargon.conveyor.core.GridAccountService;
+import org.irods.jargon.core.connection.IRODSAccount;
+import org.irods.jargon.core.exception.JargonException;
+import org.irods.jargon.idrop.desktop.systraygui.IDROPCore;
+import org.irods.jargon.transfer.exception.PassPhraseInvalidException;
+
+/**
+ *
+ * @author gosiaw
+ */
+public class GDropOldLoginDialog extends javax.swing.JDialog {
+ private GDropGridAccount gridAccount;
+ private final IDROPCore idropCore;
+
+ private static final int STANDARD = 0;
+ private static final int GSI = 1;
+ private static final int KEYFS = 2;
+
+ /**
+ * Creates new form GDropOldLoginDialog
+ */
+ public GDropOldLoginDialog(java.awt.Frame parent, boolean modal, final IDROPCore idropCore,
+ final GDropGridAccount gridAccount) {
+ super(parent, modal);
+ initComponents();
+ this.gridAccount = gridAccount;
+ this.idropCore = idropCore;
+
+ populateGridAccountInfo();
+ initAuthSchemesCombo();
+ this.getRootPane().setDefaultButton(btnOK);
+
+ pnlStandardLogin.setVisible(true);
+ pnlGSILogin.setVisible(false);
+ pnlKeyFSLogin.setVisible(false);
+ }
+
+ private void populateGridAccountInfo() {
+ GDropAuthScheme authScheme = gridAccount.getGDropAuthScheme();
+
+ String host = gridAccount.getHost();
+ if (host != null) {
+ lblHostAddress.setText(host);
+ }
+
+ int port = gridAccount.getPort();
+ txtPort.setText(String.valueOf(port));
+
+ String zone = gridAccount.getZone();
+ if (zone != null) {
+ lblZoneValue.setText(zone);
+ }
+
+ String user = gridAccount.getUserName();
+ if (user != null) {
+ txtUsername.setText(user);
+ }
+
+ // need to get plain test password
+ GridAccountService gridAccountService = idropCore.getConveyorService().getGridAccountService();
+ IRODSAccount irodAccountForPswd = null;
+ String pswd = null;
+ try {
+ irodAccountForPswd = gridAccountService.irodsAccountForGridAccount(gridAccount);
+ } catch (ConveyorExecutionException ex) {
+ Logger.getLogger(GDropOldLoginDialog.class.getName()).log(
+ Level.SEVERE, null, ex);
+ JOptionPane.showMessageDialog(
+ this,
+ "Could not retrieve stored password for this account.",
+ "Edit Grid Account", JOptionPane.ERROR_MESSAGE);
+ } catch (Exception e) {
+ // Account not found, but this is expected situation in case default grid is created in GridMemoryDialog
+ // QCG-Data specific feature
+ Logger.getLogger(GDropOldLoginDialog.class.getName()).log(
+ Level.INFO, null, e);
+// JOptionPane.showMessageDialog(
+// this,
+// "No user name and password.",
+// "Edit Grid Account", JOptionPane.ERROR_MESSAGE);
+ }
+ if (irodAccountForPswd != null) {
+ pswd = irodAccountForPswd.getPassword();
+ }
+ if (pswd != null) {
+ txtPassword.setText(pswd);
+ txtVerifyPassword.setText(pswd);
+ }
+
+ String defResc = gridAccount.getDefaultResource();
+ if (defResc != null) {
+ txtDefaultResource.setText(defResc);
+ }
+
+ String initPath = gridAccount.getDefaultPath();
+ if (initPath != null) {
+ txtInitialPath.setText(initPath);
+ }
+
+ String comment = gridAccount.getComment();
+ if (comment != null) {
+ textareaComment.setText(comment);
+ }
+ }
+
+ private void initAuthSchemesCombo() {
+ cbAuthScheme.setModel(new DefaultComboBoxModel(GDropAuthScheme.values()));
+ // also select correct auth scheme for this grid
+ cbAuthScheme.setSelectedItem(gridAccount.getGDropAuthScheme());
+ }
+
+ /**
+ * This method is called from within the constructor to initialize the form.
+ * WARNING: Do NOT modify this code. The content of this method is always
+ * regenerated by the Form Editor.
+ */
+ @SuppressWarnings("unchecked")
+ // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
+ private void initComponents() {
+ java.awt.GridBagConstraints gridBagConstraints;
+
+ pnlStandardLogin = new javax.swing.JPanel();
+ lblHost = new javax.swing.JLabel();
+ lblHostAddress = new javax.swing.JLabel();
+ lblPort = new javax.swing.JLabel();
+ txtPort = new javax.swing.JTextField();
+ lblZone = new javax.swing.JLabel();
+ lblZoneValue = new javax.swing.JLabel();
+ lblUser = new javax.swing.JLabel();
+ lblUserName = new javax.swing.JLabel();
+ txtDefaultResource = new javax.swing.JTextField();
+ lblStartingCollection = new javax.swing.JLabel();
+ txtInitialPath = new javax.swing.JTextField();
+ lblAuthorozationScheme = new javax.swing.JLabel();
+ cbAuthScheme = new javax.swing.JComboBox();
+ lblComment = new javax.swing.JLabel();
+ jScrollPane1 = new javax.swing.JScrollPane();
+ textareaComment = new javax.swing.JTextArea();
+ txtPassword = new javax.swing.JPasswordField();
+ lblPassword = new javax.swing.JLabel();
+ lblConfirmPassword = new javax.swing.JLabel();
+ txtVerifyPassword = new javax.swing.JPasswordField();
+ txtUsername = new javax.swing.JTextField();
+ pnlGSILogin = new javax.swing.JPanel();
+ lblHost1 = new javax.swing.JLabel();
+ lblHostAddress1 = new javax.swing.JLabel();
+ lblPort1 = new javax.swing.JLabel();
+ txtPort1 = new javax.swing.JTextField();
+ lblZone1 = new javax.swing.JLabel();
+ lblZoneValue1 = new javax.swing.JLabel();
+ txtDefaultResource1 = new javax.swing.JTextField();
+ lblStartingCollection1 = new javax.swing.JLabel();
+ txtInitialPath1 = new javax.swing.JTextField();
+ lblAuthorozationScheme1 = new javax.swing.JLabel();
+ cbAuthScheme1 = new javax.swing.JComboBox();
+ lblComment1 = new javax.swing.JLabel();
+ jScrollPane2 = new javax.swing.JScrollPane();
+ textareaComment1 = new javax.swing.JTextArea();
+ pnlKeyFSLogin = new javax.swing.JPanel();
+ lblHost2 = new javax.swing.JLabel();
+ lblHostAddress2 = new javax.swing.JLabel();
+ lblPort2 = new javax.swing.JLabel();
+ txtPort2 = new javax.swing.JTextField();
+ lblZone2 = new javax.swing.JLabel();
+ lblZoneValue2 = new javax.swing.JLabel();
+ txtDefaultResource2 = new javax.swing.JTextField();
+ lblStartingCollection2 = new javax.swing.JLabel();
+ txtInitialPath2 = new javax.swing.JTextField();
+ lblAuthorozationScheme2 = new javax.swing.JLabel();
+ cbAuthScheme2 = new javax.swing.JComboBox();
+ lblComment2 = new javax.swing.JLabel();
+ jScrollPane3 = new javax.swing.JScrollPane();
+ textareaComment2 = new javax.swing.JTextArea();
+ txtUsername2 = new javax.swing.JTextField();
+ pnlButtonsPanel = new javax.swing.JPanel();
+ btnCancel = new javax.swing.JButton();
+ btnOK = new javax.swing.JButton();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
+ java.awt.GridBagLayout layout = new java.awt.GridBagLayout();
+ layout.columnWidths = new int[] {0};
+ layout.rowHeights = new int[] {0};
+ getContentPane().setLayout(layout);
+
+ pnlStandardLogin.setBorder(javax.swing.BorderFactory.createEmptyBorder(20, 10, 4, 10));
+ pnlStandardLogin.setPreferredSize(new java.awt.Dimension(450, 500));
+
+ lblHost.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblHost.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblHost.text")); // NOI18N
+
+ lblHostAddress.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblHostAddress.text")); // NOI18N
+ lblHostAddress.setPreferredSize(new java.awt.Dimension(0, 28));
+
+ lblPort.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblPort.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblPort.text")); // NOI18N
+ lblPort.setPreferredSize(new java.awt.Dimension(29, 28));
+
+ txtPort.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.txtPort.text")); // NOI18N
+ txtPort.setPreferredSize(new java.awt.Dimension(200, 28));
+
+ lblZone.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblZone.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblZone.text")); // NOI18N
+
+ lblZoneValue.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblZoneValue.text")); // NOI18N
+ lblZoneValue.setPreferredSize(new java.awt.Dimension(0, 28));
+
+ lblUser.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblUser.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblUser.text")); // NOI18N
+
+ lblUserName.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblUserName.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblUserName.text")); // NOI18N
+
+ txtDefaultResource.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.txtDefaultResource.text")); // NOI18N
+ txtDefaultResource.setPreferredSize(new java.awt.Dimension(200, 28));
+
+ lblStartingCollection.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblStartingCollection.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblStartingCollection.text")); // NOI18N
+
+ txtInitialPath.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.txtInitialPath.text")); // NOI18N
+
+ lblAuthorozationScheme.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblAuthorozationScheme.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblAuthorozationScheme.text")); // NOI18N
+
+ cbAuthScheme.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ cbAuthSchemeActionPerformed(evt);
+ }
+ });
+ cbAuthScheme.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
+ public void propertyChange(java.beans.PropertyChangeEvent evt) {
+ cbAuthSchemePropertyChange(evt);
+ }
+ });
+
+ lblComment.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblComment.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblComment.text")); // NOI18N
+
+ jScrollPane1.setPreferredSize(new java.awt.Dimension(224, 84));
+
+ textareaComment.setColumns(20);
+ textareaComment.setRows(5);
+ jScrollPane1.setViewportView(textareaComment);
+
+ txtPassword.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.txtPassword.text")); // NOI18N
+
+ lblPassword.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblPassword.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblPassword.text")); // NOI18N
+
+ lblConfirmPassword.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblConfirmPassword.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblConfirmPassword.text")); // NOI18N
+
+ txtVerifyPassword.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.txtVerifyPassword.text")); // NOI18N
+
+ txtUsername.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.txtUsername.text")); // NOI18N
+ txtUsername.setPreferredSize(new java.awt.Dimension(200, 28));
+ txtUsername.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ txtUsernameActionPerformed(evt);
+ }
+ });
+
+ org.jdesktop.layout.GroupLayout pnlStandardLoginLayout = new org.jdesktop.layout.GroupLayout(pnlStandardLogin);
+ pnlStandardLogin.setLayout(pnlStandardLoginLayout);
+ pnlStandardLoginLayout.setHorizontalGroup(
+ pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlStandardLoginLayout.createSequentialGroup()
+ .add(40, 143, Short.MAX_VALUE)
+ .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(1, 1, 1)
+ .add(lblHost))
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(10, 10, 10)
+ .add(lblPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(lblZone)))
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(34, 34, 34)
+ .add(lblConfirmPassword))
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(41, 41, 41)
+ .add(lblUserName))
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(31, 31, 31)
+ .add(lblStartingCollection))
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(10, 10, 10)
+ .add(lblAuthorozationScheme))
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(87, 87, 87)
+ .add(lblComment))
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(89, 89, 89)
+ .add(lblPassword))
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(116, 116, 116)
+ .add(lblUser)))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, cbAuthScheme, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, txtInitialPath, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, txtDefaultResource, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, txtVerifyPassword, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, txtPassword, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, txtUsername, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 167, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, lblZoneValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 230, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, txtPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, lblHostAddress, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 221, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .addContainerGap())
+ );
+
+ pnlStandardLoginLayout.linkSize(new java.awt.Component[] {txtPassword, txtUsername}, org.jdesktop.layout.GroupLayout.HORIZONTAL);
+
+ pnlStandardLoginLayout.setVerticalGroup(
+ pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(lblHost)
+ .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(6, 6, 6)
+ .add(lblPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 16, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(txtPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
+ .add(org.jdesktop.layout.GroupLayout.LEADING, pnlStandardLoginLayout.createSequentialGroup()
+ .add(lblHostAddress, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(23, 23, 23)))
+ .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lblZone)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlStandardLoginLayout.createSequentialGroup()
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(lblZoneValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lblUser)
+ .add(txtUsername, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(6, 6, 6)
+ .add(lblPassword))
+ .add(txtPassword, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(6, 6, 6)
+ .add(lblConfirmPassword))
+ .add(txtVerifyPassword, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(6, 6, 6)
+ .add(lblUserName))
+ .add(txtDefaultResource, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(6, 6, 6)
+ .add(lblStartingCollection))
+ .add(txtInitialPath, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlStandardLoginLayout.createSequentialGroup()
+ .add(5, 5, 5)
+ .add(lblAuthorozationScheme))
+ .add(cbAuthScheme, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(pnlStandardLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lblComment)
+ .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 39, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
+ );
+
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 0;
+ getContentPane().add(pnlStandardLogin, gridBagConstraints);
+
+ pnlGSILogin.setBorder(javax.swing.BorderFactory.createEmptyBorder(20, 10, 4, 10));
+ pnlGSILogin.setPreferredSize(new java.awt.Dimension(450, 500));
+
+ lblHost1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblHost1.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblHost1.text")); // NOI18N
+
+ lblHostAddress1.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblHostAddress1.text")); // NOI18N
+ lblHostAddress1.setPreferredSize(new java.awt.Dimension(0, 28));
+
+ lblPort1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblPort1.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblPort1.text")); // NOI18N
+ lblPort1.setPreferredSize(new java.awt.Dimension(29, 28));
+
+ txtPort1.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.txtPort1.text")); // NOI18N
+ txtPort1.setPreferredSize(new java.awt.Dimension(200, 28));
+
+ lblZone1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblZone1.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblZone1.text")); // NOI18N
+
+ lblZoneValue1.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblZoneValue1.text")); // NOI18N
+ lblZoneValue1.setPreferredSize(new java.awt.Dimension(0, 28));
+
+ txtDefaultResource1.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.txtDefaultResource1.text")); // NOI18N
+ txtDefaultResource1.setPreferredSize(new java.awt.Dimension(200, 28));
+
+ lblStartingCollection1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblStartingCollection1.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblStartingCollection1.text")); // NOI18N
+
+ txtInitialPath1.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.txtInitialPath1.text")); // NOI18N
+
+ lblAuthorozationScheme1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblAuthorozationScheme1.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblAuthorozationScheme1.text")); // NOI18N
+
+ cbAuthScheme1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ cbAuthScheme1ActionPerformed(evt);
+ }
+ });
+ cbAuthScheme1.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
+ public void propertyChange(java.beans.PropertyChangeEvent evt) {
+ cbAuthScheme1PropertyChange(evt);
+ }
+ });
+
+ lblComment1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblComment1.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblComment1.text")); // NOI18N
+
+ jScrollPane2.setPreferredSize(new java.awt.Dimension(224, 84));
+
+ textareaComment1.setColumns(20);
+ textareaComment1.setRows(5);
+ jScrollPane2.setViewportView(textareaComment1);
+
+ org.jdesktop.layout.GroupLayout pnlGSILoginLayout = new org.jdesktop.layout.GroupLayout(pnlGSILogin);
+ pnlGSILogin.setLayout(pnlGSILoginLayout);
+ pnlGSILoginLayout.setHorizontalGroup(
+ pnlGSILoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlGSILoginLayout.createSequentialGroup()
+ .add(pnlGSILoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlGSILoginLayout.createSequentialGroup()
+ .add(40, 143, Short.MAX_VALUE)
+ .add(pnlGSILoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlGSILoginLayout.createSequentialGroup()
+ .add(1, 1, 1)
+ .add(lblHost1))
+ .add(pnlGSILoginLayout.createSequentialGroup()
+ .add(10, 10, 10)
+ .add(lblPort1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(lblZone1)))
+ .add(pnlGSILoginLayout.createSequentialGroup()
+ .add(31, 31, 31)
+ .add(lblStartingCollection1))
+ .add(pnlGSILoginLayout.createSequentialGroup()
+ .add(10, 10, 10)
+ .add(lblAuthorozationScheme1))
+ .add(pnlGSILoginLayout.createSequentialGroup()
+ .add(87, 87, 87)
+ .add(lblComment1)))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlGSILoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, jScrollPane2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, cbAuthScheme1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, txtInitialPath1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, txtDefaultResource1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, lblZoneValue1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 230, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, txtPort1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, lblHostAddress1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 221, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .addContainerGap())
+ );
+ pnlGSILoginLayout.setVerticalGroup(
+ pnlGSILoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlGSILoginLayout.createSequentialGroup()
+ .add(pnlGSILoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
+ .add(pnlGSILoginLayout.createSequentialGroup()
+ .add(lblHost1)
+ .add(pnlGSILoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlGSILoginLayout.createSequentialGroup()
+ .add(6, 6, 6)
+ .add(lblPort1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 16, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(txtPort1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
+ .add(org.jdesktop.layout.GroupLayout.LEADING, pnlGSILoginLayout.createSequentialGroup()
+ .add(lblHostAddress1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(23, 23, 23)))
+ .add(pnlGSILoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lblZone1)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlGSILoginLayout.createSequentialGroup()
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(lblZoneValue1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
+ .add(96, 96, 96)
+ .add(txtDefaultResource1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(pnlGSILoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlGSILoginLayout.createSequentialGroup()
+ .add(6, 6, 6)
+ .add(lblStartingCollection1))
+ .add(txtInitialPath1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(pnlGSILoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlGSILoginLayout.createSequentialGroup()
+ .add(5, 5, 5)
+ .add(lblAuthorozationScheme1))
+ .add(cbAuthScheme1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(pnlGSILoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lblComment1)
+ .add(jScrollPane2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 39, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
+ );
+
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 0;
+ getContentPane().add(pnlGSILogin, gridBagConstraints);
+
+ pnlKeyFSLogin.setBorder(javax.swing.BorderFactory.createEmptyBorder(20, 10, 4, 10));
+ pnlKeyFSLogin.setPreferredSize(new java.awt.Dimension(450, 500));
+
+ lblHost2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblHost2.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblHost2.text")); // NOI18N
+
+ lblHostAddress2.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblHostAddress2.text")); // NOI18N
+ lblHostAddress2.setPreferredSize(new java.awt.Dimension(0, 28));
+
+ lblPort2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblPort2.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblPort2.text")); // NOI18N
+ lblPort2.setPreferredSize(new java.awt.Dimension(29, 28));
+
+ txtPort2.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.txtPort2.text")); // NOI18N
+ txtPort2.setPreferredSize(new java.awt.Dimension(200, 28));
+
+ lblZone2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblZone2.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblZone2.text")); // NOI18N
+
+ lblZoneValue2.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblZoneValue2.text")); // NOI18N
+ lblZoneValue2.setPreferredSize(new java.awt.Dimension(0, 28));
+
+ txtDefaultResource2.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.txtDefaultResource2.text")); // NOI18N
+ txtDefaultResource2.setPreferredSize(new java.awt.Dimension(200, 28));
+
+ lblStartingCollection2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblStartingCollection2.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblStartingCollection2.text")); // NOI18N
+
+ txtInitialPath2.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.txtInitialPath2.text")); // NOI18N
+
+ lblAuthorozationScheme2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblAuthorozationScheme2.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblAuthorozationScheme2.text")); // NOI18N
+
+ cbAuthScheme2.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ cbAuthScheme2ActionPerformed(evt);
+ }
+ });
+ cbAuthScheme2.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
+ public void propertyChange(java.beans.PropertyChangeEvent evt) {
+ cbAuthScheme2PropertyChange(evt);
+ }
+ });
+
+ lblComment2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
+ lblComment2.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.lblComment2.text")); // NOI18N
+
+ jScrollPane3.setPreferredSize(new java.awt.Dimension(224, 84));
+
+ textareaComment2.setColumns(20);
+ textareaComment2.setRows(5);
+ jScrollPane3.setViewportView(textareaComment2);
+
+ txtUsername2.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.txtUsername2.text")); // NOI18N
+ txtUsername2.setPreferredSize(new java.awt.Dimension(200, 28));
+ txtUsername2.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ txtUsername2ActionPerformed(evt);
+ }
+ });
+
+ org.jdesktop.layout.GroupLayout pnlKeyFSLoginLayout = new org.jdesktop.layout.GroupLayout(pnlKeyFSLogin);
+ pnlKeyFSLogin.setLayout(pnlKeyFSLoginLayout);
+ pnlKeyFSLoginLayout.setHorizontalGroup(
+ pnlKeyFSLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlKeyFSLoginLayout.createSequentialGroup()
+ .add(pnlKeyFSLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlKeyFSLoginLayout.createSequentialGroup()
+ .add(40, 143, Short.MAX_VALUE)
+ .add(pnlKeyFSLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlKeyFSLoginLayout.createSequentialGroup()
+ .add(1, 1, 1)
+ .add(lblHost2))
+ .add(pnlKeyFSLoginLayout.createSequentialGroup()
+ .add(10, 10, 10)
+ .add(lblPort2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(lblZone2)))
+ .add(pnlKeyFSLoginLayout.createSequentialGroup()
+ .add(31, 31, 31)
+ .add(lblStartingCollection2))
+ .add(pnlKeyFSLoginLayout.createSequentialGroup()
+ .add(10, 10, 10)
+ .add(lblAuthorozationScheme2))
+ .add(pnlKeyFSLoginLayout.createSequentialGroup()
+ .add(87, 87, 87)
+ .add(lblComment2)))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlKeyFSLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, jScrollPane3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, cbAuthScheme2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, txtInitialPath2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, txtDefaultResource2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, txtUsername2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 167, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, lblZoneValue2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 230, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, txtPort2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 236, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, lblHostAddress2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 221, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .addContainerGap())
+ );
+ pnlKeyFSLoginLayout.setVerticalGroup(
+ pnlKeyFSLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlKeyFSLoginLayout.createSequentialGroup()
+ .add(pnlKeyFSLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
+ .add(pnlKeyFSLoginLayout.createSequentialGroup()
+ .add(lblHost2)
+ .add(pnlKeyFSLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlKeyFSLoginLayout.createSequentialGroup()
+ .add(6, 6, 6)
+ .add(lblPort2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 16, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(txtPort2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
+ .add(org.jdesktop.layout.GroupLayout.LEADING, pnlKeyFSLoginLayout.createSequentialGroup()
+ .add(lblHostAddress2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(23, 23, 23)))
+ .add(pnlKeyFSLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lblZone2)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlKeyFSLoginLayout.createSequentialGroup()
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(lblZoneValue2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(txtUsername2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(62, 62, 62)
+ .add(txtDefaultResource2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(pnlKeyFSLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlKeyFSLoginLayout.createSequentialGroup()
+ .add(6, 6, 6)
+ .add(lblStartingCollection2))
+ .add(txtInitialPath2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(pnlKeyFSLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlKeyFSLoginLayout.createSequentialGroup()
+ .add(5, 5, 5)
+ .add(lblAuthorozationScheme2))
+ .add(cbAuthScheme2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(pnlKeyFSLoginLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lblComment2)
+ .add(jScrollPane3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 39, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
+ );
+
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 0;
+ getContentPane().add(pnlKeyFSLogin, gridBagConstraints);
+
+ btnCancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/irods/jargon/idrop/desktop/systraygui/images/glyphicons_192_circle_remove.png"))); // NOI18N
+ btnCancel.setMnemonic('C');
+ btnCancel.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.btnCancel.text")); // NOI18N
+ btnCancel.setToolTipText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.btnCancel.toolTipText")); // NOI18N
+ btnCancel.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnCancelActionPerformed(evt);
+ }
+ });
+
+ btnOK.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/irods/jargon/idrop/desktop/systraygui/images/glyphicons_193_circle_ok.png"))); // NOI18N
+ btnOK.setMnemonic('O');
+ btnOK.setText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.btnOK.text")); // NOI18N
+ btnOK.setToolTipText(org.openide.util.NbBundle.getMessage(GDropOldLoginDialog.class, "GDropOldLoginDialog.btnOK.toolTipText")); // NOI18N
+ btnOK.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnOKActionPerformed(evt);
+ }
+ });
+
+ org.jdesktop.layout.GroupLayout pnlButtonsPanelLayout = new org.jdesktop.layout.GroupLayout(pnlButtonsPanel);
+ pnlButtonsPanel.setLayout(pnlButtonsPanelLayout);
+ pnlButtonsPanelLayout.setHorizontalGroup(
+ pnlButtonsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlButtonsPanelLayout.createSequentialGroup()
+ .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(btnCancel)
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(btnOK)
+ .addContainerGap())
+ );
+ pnlButtonsPanelLayout.setVerticalGroup(
+ pnlButtonsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlButtonsPanelLayout.createSequentialGroup()
+ .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(pnlButtonsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(btnCancel)
+ .add(btnOK))
+ .addContainerGap())
+ );
+
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 0;
+ getContentPane().add(pnlButtonsPanel, gridBagConstraints);
+
+ pack();
+ }// </editor-fold>//GEN-END:initComponents
+
+ private void btnCancelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelActionPerformed
+ this.dispose();
+ }//GEN-LAST:event_btnCancelActionPerformed
+
+ private void btnOKActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnOKActionPerformed
+
+ GDropIRODSAccount gridInfo = createIRODSAccountFromForm();
+ if (gridInfo != null) {
+ GridAccountService gridAccountService = idropCore.getConveyorService().getGridAccountService();
+
+ // now add authorization scheme to gridaccount
+ GDropAuthScheme scheme = (GDropAuthScheme) cbAuthScheme.getSelectedItem();
+ if ((scheme != null) && (!(scheme.getTextValue().isEmpty()))) {
+ gridInfo.setGDropAuthenticationScheme(scheme);
+ }
+
+ // now see if there is a comment to add to gridaccount
+ String comment = "";
+ if ((textareaComment.getText() != null) || (!textareaComment.getText().isEmpty())) {
+ comment = textareaComment.getText().trim();
+ }
+
+ try {
+ gridAccountService.addOrUpdateGridAccountBasedOnIRODSAccount(gridInfo);
+
+ // use this when Mike adds comment to addOrUpdateGridAccountBasedOnIRODSAccount()
+ // gridAccountService.addOrUpdateGridAccountBasedOnIRODSAccount(gridInfo, comment);
+ } catch (PassPhraseInvalidException ex) {
+ gridInfo = null;
+ Logger.getLogger(GDropOldLoginDialog.class.getName()).log(
+ Level.SEVERE, null, ex);
+ JOptionPane.showMessageDialog(
+ this,
+ "Update of grid account failed. Pass phrase is invalid.",
+ "Edit Grid Account", JOptionPane.ERROR_MESSAGE);
+ } catch (ConveyorExecutionException ex) {
+ gridInfo = null;
+ Logger.getLogger(GDropOldLoginDialog.class.getName()).log(
+ Level.SEVERE, null, ex);
+ }
+
+ this.dispose();
+ }
+ }//GEN-LAST:event_btnOKActionPerformed
+
+ private void txtUsernameActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtUsernameActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_txtUsernameActionPerformed
+
+ private void cbAuthSchemePropertyChange(java.beans.PropertyChangeEvent evt) {//GEN-FIRST:event_cbAuthSchemePropertyChange
+ // TODO add your handling code here:
+ }//GEN-LAST:event_cbAuthSchemePropertyChange
+
+ private void cbAuthSchemeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbAuthSchemeActionPerformed
+ // TODO add your handling code here:
+ int index = cbAuthScheme.getSelectedIndex();
+ switch (index) {
+ case STANDARD:
+ pnlStandardLogin.setVisible(true);
+ pnlGSILogin.setVisible(false);
+ pnlKeyFSLogin.setVisible(false);
+ break;
+ case GSI:
+ pnlStandardLogin.setVisible(false);
+ pnlGSILogin.setVisible(true);
+ pnlKeyFSLogin.setVisible(false);
+ break;
+ case KEYFS:
+ pnlStandardLogin.setVisible(false);
+ pnlGSILogin.setVisible(false);
+ pnlKeyFSLogin.setVisible(true);
+ break;
+ }
+ }//GEN-LAST:event_cbAuthSchemeActionPerformed
+
+ private void cbAuthScheme1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbAuthScheme1ActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_cbAuthScheme1ActionPerformed
+
+ private void cbAuthScheme1PropertyChange(java.beans.PropertyChangeEvent evt) {//GEN-FIRST:event_cbAuthScheme1PropertyChange
+ // TODO add your handling code here:
+ }//GEN-LAST:event_cbAuthScheme1PropertyChange
+
+ private void cbAuthScheme2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbAuthScheme2ActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_cbAuthScheme2ActionPerformed
+
+ private void cbAuthScheme2PropertyChange(java.beans.PropertyChangeEvent evt) {//GEN-FIRST:event_cbAuthScheme2PropertyChange
+ // TODO add your handling code here:
+ }//GEN-LAST:event_cbAuthScheme2PropertyChange
+
+ private void txtUsername2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtUsername2ActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_txtUsername2ActionPerformed
+
+
+ private GDropIRODSAccount createIRODSAccountFromForm() {
+ GDropIRODSAccount acct = null;
+
+ String host = this.gridAccount.getHost();
+ String strPort = txtPort.getText().trim();
+ int port=0;
+ if ((strPort != null) && (!strPort.isEmpty())) {
+ port = Integer.valueOf(strPort).intValue();
+ }
+ String zone = this.gridAccount.getZone();
+// String user = this.gridAccount.getUserName();
+ String user = txtUsername.getText().trim();
+ String password = txtPassword.getText().trim();
+ String verifyPassword = txtVerifyPassword.getText().trim();
+ String defaultResc = txtDefaultResource.getText().trim();
+ String initialPath = txtInitialPath.getText().trim();
+ if ((txtInitialPath.getText() == null) || (txtInitialPath.getText().isEmpty())) {
+ StringBuilder homeBuilder = new StringBuilder();
+ homeBuilder.append("/");
+ homeBuilder.append(zone);
+ homeBuilder.append("/home/");
+ homeBuilder.append(user);
+ initialPath = homeBuilder.toString();
+ }
+
+ // check to make sure passwords match
+ if (! password.equals(verifyPassword)) {
+ JOptionPane.showMessageDialog(
+ this,
+ "Passwords do not match. Please try again.",
+ "Edit Grid Account", JOptionPane.ERROR_MESSAGE);
+ return acct;
+ }
+
+ GridAccountService gridAccountService = idropCore.getConveyorService().getGridAccountService();
+
+ // need to do this to retrieve plain text password
+ IRODSAccount irodAccountForPswd = null;
+
+ // not needed if collecting password from form
+// try {
+// irodAccountForPswd = gridAccountService.irodsAccountForGridAccount(gridAccount);
+// } catch (ConveyorExecutionException ex) {
+// Logger.getLogger(EditGridInfoDialog.class.getName()).log(
+// Level.SEVERE, null, ex);
+// JOptionPane.showMessageDialog(
+// this,
+// "Update of grid account failed. Could not store password.",
+// "Edit Grid Account", JOptionPane.ERROR_MESSAGE);
+// }
+
+ try {
+ acct = GDropIRODSAccount.instance(host, port, user, password, initialPath, zone, defaultResc);
+ } catch (JargonException ex) {
+ JOptionPane.showMessageDialog(
+ this,
+ "Please enter grid account information. Host, port, zone, and user name are required.",
+ "Edit Grid Account", JOptionPane.ERROR_MESSAGE);
+ return acct;
+ } catch (IllegalArgumentException ex) {
+ JOptionPane.showMessageDialog(
+ this,
+ "Please enter grid account information. Host, port, zone, and user name are required.",
+ "Edit Grid Account", JOptionPane.ERROR_MESSAGE);
+ return acct;
+ }
+
+ // now add authorization scheme to gridaccount
+ GDropAuthScheme scheme = (GDropAuthScheme) cbAuthScheme.getSelectedItem();
+ if (scheme != null) {
+ acct.setGDropAuthenticationScheme(scheme);
+ }
+
+ return acct;
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton btnCancel;
+ private javax.swing.JButton btnOK;
+ private javax.swing.JComboBox cbAuthScheme;
+ private javax.swing.JComboBox cbAuthScheme1;
+ private javax.swing.JComboBox cbAuthScheme2;
+ private javax.swing.JScrollPane jScrollPane1;
+ private javax.swing.JScrollPane jScrollPane2;
+ private javax.swing.JScrollPane jScrollPane3;
+ private javax.swing.JLabel lblAuthorozationScheme;
+ private javax.swing.JLabel lblAuthorozationScheme1;
+ private javax.swing.JLabel lblAuthorozationScheme2;
+ private javax.swing.JLabel lblComment;
+ private javax.swing.JLabel lblComment1;
+ private javax.swing.JLabel lblComment2;
+ private javax.swing.JLabel lblConfirmPassword;
+ private javax.swing.JLabel lblHost;
+ private javax.swing.JLabel lblHost1;
+ private javax.swing.JLabel lblHost2;
+ private javax.swing.JLabel lblHostAddress;
+ private javax.swing.JLabel lblHostAddress1;
+ private javax.swing.JLabel lblHostAddress2;
+ private javax.swing.JLabel lblPassword;
+ private javax.swing.JLabel lblPort;
+ private javax.swing.JLabel lblPort1;
+ private javax.swing.JLabel lblPort2;
+ private javax.swing.JLabel lblStartingCollection;
+ private javax.swing.JLabel lblStartingCollection1;
+ private javax.swing.JLabel lblStartingCollection2;
+ private javax.swing.JLabel lblUser;
+ private javax.swing.JLabel lblUserName;
+ private javax.swing.JLabel lblZone;
+ private javax.swing.JLabel lblZone1;
+ private javax.swing.JLabel lblZone2;
+ private javax.swing.JLabel lblZoneValue;
+ private javax.swing.JLabel lblZoneValue1;
+ private javax.swing.JLabel lblZoneValue2;
+ private javax.swing.JPanel pnlButtonsPanel;
+ private javax.swing.JPanel pnlGSILogin;
+ private javax.swing.JPanel pnlKeyFSLogin;
+ private javax.swing.JPanel pnlStandardLogin;
+ private javax.swing.JTextArea textareaComment;
+ private javax.swing.JTextArea textareaComment1;
+ private javax.swing.JTextArea textareaComment2;
+ private javax.swing.JTextField txtDefaultResource;
+ private javax.swing.JTextField txtDefaultResource1;
+ private javax.swing.JTextField txtDefaultResource2;
+ private javax.swing.JTextField txtInitialPath;
+ private javax.swing.JTextField txtInitialPath1;
+ private javax.swing.JTextField txtInitialPath2;
+ private javax.swing.JPasswordField txtPassword;
+ private javax.swing.JTextField txtPort;
+ private javax.swing.JTextField txtPort1;
+ private javax.swing.JTextField txtPort2;
+ private javax.swing.JTextField txtUsername;
+ private javax.swing.JTextField txtUsername2;
+ private javax.swing.JPasswordField txtVerifyPassword;
+ // End of variables declaration//GEN-END:variables
+}
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/utils/Version.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/utils/Version.java
index 5cf4a38..6cc3147 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/utils/Version.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/utils/Version.java
@@ -1,5 +1,5 @@
package org.irods.jargon.idrop.desktop.systraygui.utils;
public final class Version {
public static String VERSION="b964-SNAPSHOT";
- public static String BUILD_TIME="20131104-1307";
+ public static String BUILD_TIME="20131107-1516";
}
diff --git a/idrop-swing/src/main/resources/org/irods/jargon/idrop/desktop/gdrop/Bundle.properties b/idrop-swing/src/main/resources/org/irods/jargon/idrop/desktop/gdrop/Bundle.properties
index d784c5b..50e6121 100644
--- a/idrop-swing/src/main/resources/org/irods/jargon/idrop/desktop/gdrop/Bundle.properties
+++ b/idrop-swing/src/main/resources/org/irods/jargon/idrop/desktop/gdrop/Bundle.properties
@@ -139,25 +139,128 @@ GDropGridMemoryDialog.btnAddGridInfo.text=
GDropGridMemoryDialog.btnLogin.toolTipText=Login with selected grid
GDropGridMemoryDialog.btnLogin.text=
GDropGridMemoryDialog.title=Connect to grid
-GDropLoginDialog.btnOK.toolTipText=Save information and log in
+NewJDialog.btnCancel.text=
+NewJDialog.btnOK.toolTipText=Save information and log in
+NewJDialog.btnOK.text=
+NewJDialog.btnCancel.toolTipText=cancel
+NewJDialog.lblHost.text=Host:
+NewJDialog.txtUsername.text=
+NewJDialog.txtVerifyPassword.text=
+NewJDialog.lblConfirmPassword.text=Confirm Password:
+NewJDialog.lblPassword.text=Password:
+NewJDialog.txtPassword.text=
+NewJDialog.lblComment.text=Comment:
+NewJDialog.lblAuthorozationScheme.text=Authorization Scheme:
+NewJDialog.txtInitialPath.text=
+NewJDialog.lblStartingCollection.text=Starting Collection:
+NewJDialog.txtDefaultResource.text=
+NewJDialog.lblUserName.text=Default Resource:
+NewJDialog.lblUser.text=User:
+NewJDialog.lblZoneValue.text=
+NewJDialog.lblZone.text=Zone:
+NewJDialog.txtPort.text=1247
+NewJDialog.lblPort.text=Port:
+NewJDialog.lblHostAddress.text=
+Test.jLabel1.text=jLabel1
+Test.lblHost.text=Host:
+Test.txtUsername2.text=
+Test.lblComment2.text=Comment:
+Test.lblAuthorozationScheme2.text=Authorization Scheme:
+Test.txtInitialPath2.text=
+Test.lblStartingCollection2.text=Starting Collection:
+Test.txtDefaultResource2.text=
+Test.lblZoneValue2.text=
+Test.lblZone2.text=Zone:
+Test.txtPort2.text=1247
+Test.lblPort2.text=Port:
+Test.lblHostAddress2.text=
+Test.lblHost2.text=Host:
+Test.lblComment1.text=Comment:
+Test.lblAuthorozationScheme1.text=Authorization Scheme:
+Test.txtInitialPath1.text=
+Test.lblStartingCollection1.text=Starting Collection:
+Test.txtDefaultResource1.text=
+Test.lblZoneValue1.text=
+Test.lblZone1.text=Zone:
+Test.txtPort1.text=1247
+Test.lblPort1.text=Port:
+Test.lblHostAddress1.text=
+Test.lblHost1.text=Host:
+Test.lblConfirmPassword.text=Confirm Password:
+Test.lblComment.text=Comment:
+Test.lblAuthorozationScheme.text=Authorization Scheme:
+Test.txtInitialPath.text=
+Test.lblUserName.text=Default Resource:
+Test.lblUser.text=User:
+Test.lblZone.text=Zone:
+Test.lblPort.text=Port:
+Test.btnOK.toolTipText=Save information and log in
+Test.btnCancel.toolTipText=cancel
+GDropOldLoginDialog.lblStartingCollection1.text=Starting Collection:
+GDropOldLoginDialog.lblStartingCollection2.text=Starting Collection:
+GDropOldLoginDialog.lblComment2.text=Comment:
+GDropOldLoginDialog.lblAuthorozationScheme2.text=Authorization Scheme:
+GDropOldLoginDialog.txtInitialPath2.text=
+GDropOldLoginDialog.lblUserName.text=Default Resource:
+GDropOldLoginDialog.txtPort2.text=1247
+GDropOldLoginDialog.lblZone2.text=Zone:
+GDropOldLoginDialog.lblHostAddress2.text=
+GDropOldLoginDialog.lblPort2.text=Port:
+GDropOldLoginDialog.lblZoneValue2.text=
+GDropOldLoginDialog.txtDefaultResource2.text=
+GDropOldLoginDialog.lblPassword.text=Password:
+GDropOldLoginDialog.lblConfirmPassword.text=Confirm Password:
+GDropOldLoginDialog.lblStartingCollection.text=Starting Collection:
+GDropOldLoginDialog.txtDefaultResource.text=
+GDropOldLoginDialog.lblAuthorozationScheme.text=Authorization Scheme:
+GDropOldLoginDialog.txtInitialPath.text=
+GDropOldLoginDialog.lblComment.text=Comment:
+GDropOldLoginDialog.txtPassword.text=
+GDropOldLoginDialog.txtUsername2.text=
+GDropOldLoginDialog.lblZoneValue.text=
+GDropOldLoginDialog.lblUser.text=User:
+GDropOldLoginDialog.txtPort1.text=1247
+GDropOldLoginDialog.lblHostAddress.text=
+GDropOldLoginDialog.lblZone1.text=Zone:
+GDropOldLoginDialog.lblPort.text=Port:
+GDropOldLoginDialog.txtPort.text=1247
+GDropOldLoginDialog.lblPort1.text=Port:
+GDropOldLoginDialog.lblZone.text=Zone:
+GDropOldLoginDialog.lblHost.text=Host:
+GDropOldLoginDialog.lblHostAddress1.text=
+GDropOldLoginDialog.lblHost1.text=Host:
+GDropOldLoginDialog.btnOK.toolTipText=Save information and log in
+GDropOldLoginDialog.btnOK.text=
+GDropOldLoginDialog.btnCancel.toolTipText=cancel
+GDropOldLoginDialog.btnCancel.text=
+GDropOldLoginDialog.txtUsername.text=
+GDropOldLoginDialog.txtVerifyPassword.text=
+GDropOldLoginDialog.lblHost2.text=Host:
+GDropOldLoginDialog.lblAuthorozationScheme1.text=Authorization Scheme:
+GDropOldLoginDialog.lblComment1.text=Comment:
+GDropOldLoginDialog.txtDefaultResource1.text=
+GDropOldLoginDialog.lblZoneValue1.text=
+GDropOldLoginDialog.txtInitialPath1.text=
+GDropLoginDialog.lblDefaultResource.text=Default resource
+GDropLoginDialog.txtDefaultResource.text=Example default resource
+GDropLoginDialog.btnOK.toolTipText_1=Save information and log in
GDropLoginDialog.btnOK.text=
-GDropLoginDialog.btnCancel.toolTipText=cancel
+GDropLoginDialog.btnCancel.toolTipText_1=cancel
GDropLoginDialog.btnCancel.text=
-GDropLoginDialog.lblHost.text=Host:
-GDropLoginDialog.txtUsername.text=
-GDropLoginDialog.txtVerifyPassword.text=
-GDropLoginDialog.lblConfirmPassword.text=Confirm Password:
-GDropLoginDialog.lblPassword.text=Password:
-GDropLoginDialog.txtPassword.text=
-GDropLoginDialog.lblComment.text=Comment:
-GDropLoginDialog.lblAuthorozationScheme.text=Authorization Scheme:
-GDropLoginDialog.txtInitialPath.text=
-GDropLoginDialog.lblStartingCollection.text=Starting Collection:
-GDropLoginDialog.txtDefaultResource.text=
-GDropLoginDialog.lblUserName.text=Default Resource:
-GDropLoginDialog.lblUser.text=User:
-GDropLoginDialog.lblZoneValue.text=
-GDropLoginDialog.lblZone.text=Zone:
-GDropLoginDialog.txtPort.text=1247
-GDropLoginDialog.lblPort.text=Port:
-GDropLoginDialog.lblHostAddress.text=
+GDropLoginDialog.lblHost.text_1=Host
+GDropLoginDialog.lblComment.text_1=Comment
+GDropLoginDialog.txtPort.text=Example port
+GDropLoginDialog.txtInitialPath.text_1=Example starting collection
+GDropLoginDialog.lblPort.text_1=Port
+GDropLoginDialog.lblStartingCollection.text=Starting collection
+GDropLoginDialog.lblHostAddress.text=Example host
+GDropLoginDialog.lblZone.text_1=Zone
+GDropLoginDialog.lblZoneValue.text=Example zone
+GDropLoginDialog.txtComment.text=Example comment
+GDropLoginDialog.lblVerifyPassword.text=Verify password
+GDropLoginDialog.txtPassword.text=Example password
+GDropLoginDialog.lblAuthScheme.text_1=Authorization scheme
+GDropLoginDialog.txtVerifyPassword.text=Example password
+GDropLoginDialog.txtUsername.text=Example username
+GDropLoginDialog.lblUsername.text_1=Username
+GDropLoginDialog.lblPassword.text=Password