mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
rename a variable
This commit is contained in:
parent
ee4d0b2b99
commit
710ffee243
@ -183,11 +183,11 @@ MultiUserSettingsPanel.tbSolrPort.toolTipText=Port Number
|
|||||||
MultiUserSettingsPanel.lbTestMessageService.text=
|
MultiUserSettingsPanel.lbTestMessageService.text=
|
||||||
MultiUserSettingsPanel.bnTestMessageService.text=Test
|
MultiUserSettingsPanel.bnTestMessageService.text=Test
|
||||||
MultiUserSettingsPanel.lbMessageServiceSettings.text=ActiveMQ Message Service Settings
|
MultiUserSettingsPanel.lbMessageServiceSettings.text=ActiveMQ Message Service Settings
|
||||||
MultiUserSettingsPanel.tbMsgHost.toolTipText=Hostname or IP Address
|
|
||||||
MultiUserSettingsPanel.tbMsgHost.text=
|
|
||||||
MultiUserSettingsPanel.tbMsgPort.toolTipText=Port Number
|
MultiUserSettingsPanel.tbMsgPort.toolTipText=Port Number
|
||||||
MultiUserSettingsPanel.tbMsgPort.text=
|
MultiUserSettingsPanel.tbMsgPort.text=
|
||||||
MultiUserSettingsPanel.tbMsgUsername.toolTipText=User Name
|
MultiUserSettingsPanel.tbMsgUsername.toolTipText=User Name
|
||||||
MultiUserSettingsPanel.tbMsgUsername.text=
|
MultiUserSettingsPanel.tbMsgUsername.text=
|
||||||
MultiUserSettingsPanel.tbMsgPassword.toolTipText=Password
|
MultiUserSettingsPanel.tbMsgPassword.toolTipText=Password
|
||||||
MultiUserSettingsPanel.tbMsgPassword.text=
|
MultiUserSettingsPanel.tbMsgPassword.text=
|
||||||
|
MultiUserSettingsPanel.tbMsgHostname.toolTipText=Hostname or IP Address
|
||||||
|
MultiUserSettingsPanel.tbMsgHostname.text=
|
||||||
|
@ -101,10 +101,10 @@
|
|||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Group type="102" alignment="1" attributes="0">
|
<Group type="102" alignment="1" attributes="0">
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="3" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Component id="lbDatabaseSettings" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
||||||
<Component id="bnTestDatabase" alignment="0" min="-2" max="-2" attributes="0"/>
|
<Component id="bnTestDatabase" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="lbTestDatabase" alignment="0" min="-2" pref="23" max="-2" attributes="0"/>
|
<Component id="lbTestDatabase" alignment="0" min="-2" pref="23" max="-2" attributes="0"/>
|
||||||
|
<Component id="lbDatabaseSettings" min="-2" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
<EmptySpace max="32767" attributes="0"/>
|
<EmptySpace max="32767" attributes="0"/>
|
||||||
<Component id="tbDbHostname" min="-2" max="-2" attributes="0"/>
|
<Component id="tbDbHostname" min="-2" max="-2" attributes="0"/>
|
||||||
@ -237,9 +237,9 @@
|
|||||||
<Group type="102" alignment="0" attributes="0">
|
<Group type="102" alignment="0" attributes="0">
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Group type="103" groupAlignment="3" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Component id="lbSolrSettings" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
||||||
<Component id="bnTestSolr" alignment="1" min="-2" max="-2" attributes="0"/>
|
<Component id="bnTestSolr" alignment="1" min="-2" max="-2" attributes="0"/>
|
||||||
|
<Component id="lbSolrSettings" min="-2" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
<Component id="lbTestSolr" alignment="1" min="-2" pref="23" max="-2" attributes="0"/>
|
<Component id="lbTestSolr" alignment="1" min="-2" pref="23" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
@ -317,7 +317,7 @@
|
|||||||
<Group type="102" alignment="0" attributes="0">
|
<Group type="102" alignment="0" attributes="0">
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Component id="tbMsgHost" max="32767" attributes="0"/>
|
<Component id="tbMsgHostname" max="32767" attributes="0"/>
|
||||||
<Group type="102" attributes="0">
|
<Group type="102" attributes="0">
|
||||||
<Component id="lbMessageServiceSettings" min="-2" max="-2" attributes="0"/>
|
<Component id="lbMessageServiceSettings" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace pref="229" max="32767" attributes="0"/>
|
<EmptySpace pref="229" max="32767" attributes="0"/>
|
||||||
@ -338,14 +338,14 @@
|
|||||||
<Group type="102" alignment="0" attributes="0">
|
<Group type="102" alignment="0" attributes="0">
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="1" attributes="0">
|
<Group type="103" groupAlignment="1" attributes="0">
|
||||||
<Group type="103" groupAlignment="3" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Component id="lbMessageServiceSettings" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
||||||
<Component id="bnTestMessageService" alignment="1" min="-2" max="-2" attributes="0"/>
|
<Component id="bnTestMessageService" alignment="1" min="-2" max="-2" attributes="0"/>
|
||||||
|
<Component id="lbMessageServiceSettings" min="-2" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
<Component id="lbTestMessageService" min="-2" pref="23" max="-2" attributes="0"/>
|
<Component id="lbTestMessageService" min="-2" pref="23" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||||
<Component id="tbMsgHost" min="-2" max="-2" attributes="0"/>
|
<Component id="tbMsgHostname" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Component id="tbMsgPort" min="-2" max="-2" attributes="0"/>
|
<Component id="tbMsgPort" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
@ -368,16 +368,16 @@
|
|||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JTextField" name="tbMsgHost">
|
<Component class="javax.swing.JTextField" name="tbMsgHostname">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||||
<Font name="Tahoma" size="12" style="0"/>
|
<Font name="Tahoma" size="12" style="0"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/corecomponents/Bundle.properties" key="MultiUserSettingsPanel.tbMsgHost.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/corecomponents/Bundle.properties" key="MultiUserSettingsPanel.tbMsgHostname.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/corecomponents/Bundle.properties" key="MultiUserSettingsPanel.tbMsgHost.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/corecomponents/Bundle.properties" key="MultiUserSettingsPanel.tbMsgHostname.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
|
@ -59,7 +59,7 @@ public final class MultiUserSettingsPanel extends javax.swing.JPanel {
|
|||||||
textPrompts.add(new TextPrompt(PORT_PROMPT, tbDbPort));
|
textPrompts.add(new TextPrompt(PORT_PROMPT, tbDbPort));
|
||||||
textPrompts.add(new TextPrompt(USER_NAME_PROMPT, tbDbUsername));
|
textPrompts.add(new TextPrompt(USER_NAME_PROMPT, tbDbUsername));
|
||||||
textPrompts.add(new TextPrompt(PASSWORD_PROMPT, tbDbPassword));
|
textPrompts.add(new TextPrompt(PASSWORD_PROMPT, tbDbPassword));
|
||||||
textPrompts.add(new TextPrompt(HOST_NAME_OR_IP_PROMPT, tbMsgHost));
|
textPrompts.add(new TextPrompt(HOST_NAME_OR_IP_PROMPT, tbMsgHostname));
|
||||||
textPrompts.add(new TextPrompt(PORT_PROMPT, tbMsgPort));
|
textPrompts.add(new TextPrompt(PORT_PROMPT, tbMsgPort));
|
||||||
textPrompts.add(new TextPrompt(USER_NAME_PROMPT, tbMsgUsername));
|
textPrompts.add(new TextPrompt(USER_NAME_PROMPT, tbMsgUsername));
|
||||||
textPrompts.add(new TextPrompt(PASSWORD_PROMPT, tbMsgPassword));
|
textPrompts.add(new TextPrompt(PASSWORD_PROMPT, tbMsgPassword));
|
||||||
@ -77,7 +77,7 @@ public final class MultiUserSettingsPanel extends javax.swing.JPanel {
|
|||||||
tbSolrHostname.getDocument().putProperty("statusIcon", lbTestSolr);
|
tbSolrHostname.getDocument().putProperty("statusIcon", lbTestSolr);
|
||||||
tbSolrPort.getDocument().putProperty("statusIcon", lbTestSolr);
|
tbSolrPort.getDocument().putProperty("statusIcon", lbTestSolr);
|
||||||
|
|
||||||
tbMsgHost.getDocument().putProperty("statusIcon", lbTestMessageService);
|
tbMsgHostname.getDocument().putProperty("statusIcon", lbTestMessageService);
|
||||||
tbMsgPort.getDocument().putProperty("statusIcon", lbTestMessageService);
|
tbMsgPort.getDocument().putProperty("statusIcon", lbTestMessageService);
|
||||||
tbMsgUsername.getDocument().putProperty("statusIcon", lbTestMessageService);
|
tbMsgUsername.getDocument().putProperty("statusIcon", lbTestMessageService);
|
||||||
tbMsgPassword.getDocument().putProperty("statusIcon", lbTestMessageService);
|
tbMsgPassword.getDocument().putProperty("statusIcon", lbTestMessageService);
|
||||||
@ -88,7 +88,7 @@ public final class MultiUserSettingsPanel extends javax.swing.JPanel {
|
|||||||
textBoxes.add(tbDbPort);
|
textBoxes.add(tbDbPort);
|
||||||
textBoxes.add(tbDbUsername);
|
textBoxes.add(tbDbUsername);
|
||||||
textBoxes.add(tbDbPassword);
|
textBoxes.add(tbDbPassword);
|
||||||
textBoxes.add(tbMsgHost);
|
textBoxes.add(tbMsgHostname);
|
||||||
textBoxes.add(tbMsgPort);
|
textBoxes.add(tbMsgPort);
|
||||||
textBoxes.add(tbMsgUsername);
|
textBoxes.add(tbMsgUsername);
|
||||||
textBoxes.add(tbMsgPassword);
|
textBoxes.add(tbMsgPassword);
|
||||||
@ -156,7 +156,7 @@ public final class MultiUserSettingsPanel extends javax.swing.JPanel {
|
|||||||
lbTestSolr = new javax.swing.JLabel();
|
lbTestSolr = new javax.swing.JLabel();
|
||||||
pnMessagingSettings = new javax.swing.JPanel();
|
pnMessagingSettings = new javax.swing.JPanel();
|
||||||
lbMessageServiceSettings = new javax.swing.JLabel();
|
lbMessageServiceSettings = new javax.swing.JLabel();
|
||||||
tbMsgHost = new javax.swing.JTextField();
|
tbMsgHostname = new javax.swing.JTextField();
|
||||||
tbMsgUsername = new javax.swing.JTextField();
|
tbMsgUsername = new javax.swing.JTextField();
|
||||||
tbMsgPort = new javax.swing.JTextField();
|
tbMsgPort = new javax.swing.JTextField();
|
||||||
tbMsgPassword = new javax.swing.JPasswordField();
|
tbMsgPassword = new javax.swing.JPasswordField();
|
||||||
@ -220,10 +220,10 @@ public final class MultiUserSettingsPanel extends javax.swing.JPanel {
|
|||||||
pnDatabaseSettingsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
pnDatabaseSettingsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pnDatabaseSettingsLayout.createSequentialGroup()
|
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pnDatabaseSettingsLayout.createSequentialGroup()
|
||||||
.addContainerGap()
|
.addContainerGap()
|
||||||
.addGroup(pnDatabaseSettingsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
.addGroup(pnDatabaseSettingsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addComponent(lbDatabaseSettings)
|
|
||||||
.addComponent(bnTestDatabase)
|
.addComponent(bnTestDatabase)
|
||||||
.addComponent(lbTestDatabase, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
|
.addComponent(lbTestDatabase, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
|
.addComponent(lbDatabaseSettings))
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||||
.addComponent(tbDbHostname, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addComponent(tbDbHostname, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
@ -277,9 +277,9 @@ public final class MultiUserSettingsPanel extends javax.swing.JPanel {
|
|||||||
.addGroup(pnSolrSettingsLayout.createSequentialGroup()
|
.addGroup(pnSolrSettingsLayout.createSequentialGroup()
|
||||||
.addContainerGap()
|
.addContainerGap()
|
||||||
.addGroup(pnSolrSettingsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
.addGroup(pnSolrSettingsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addGroup(pnSolrSettingsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
.addGroup(pnSolrSettingsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addComponent(lbSolrSettings)
|
.addComponent(bnTestSolr, javax.swing.GroupLayout.Alignment.TRAILING)
|
||||||
.addComponent(bnTestSolr))
|
.addComponent(lbSolrSettings))
|
||||||
.addComponent(lbTestSolr, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
|
.addComponent(lbTestSolr, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addComponent(tbSolrHostname, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addComponent(tbSolrHostname, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
@ -293,9 +293,9 @@ public final class MultiUserSettingsPanel extends javax.swing.JPanel {
|
|||||||
lbMessageServiceSettings.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
|
lbMessageServiceSettings.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(lbMessageServiceSettings, org.openide.util.NbBundle.getMessage(MultiUserSettingsPanel.class, "MultiUserSettingsPanel.lbMessageServiceSettings.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(lbMessageServiceSettings, org.openide.util.NbBundle.getMessage(MultiUserSettingsPanel.class, "MultiUserSettingsPanel.lbMessageServiceSettings.text")); // NOI18N
|
||||||
|
|
||||||
tbMsgHost.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
|
tbMsgHostname.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
|
||||||
tbMsgHost.setText(org.openide.util.NbBundle.getMessage(MultiUserSettingsPanel.class, "MultiUserSettingsPanel.tbMsgHost.text")); // NOI18N
|
tbMsgHostname.setText(org.openide.util.NbBundle.getMessage(MultiUserSettingsPanel.class, "MultiUserSettingsPanel.tbMsgHostname.text")); // NOI18N
|
||||||
tbMsgHost.setToolTipText(org.openide.util.NbBundle.getMessage(MultiUserSettingsPanel.class, "MultiUserSettingsPanel.tbMsgHost.toolTipText")); // NOI18N
|
tbMsgHostname.setToolTipText(org.openide.util.NbBundle.getMessage(MultiUserSettingsPanel.class, "MultiUserSettingsPanel.tbMsgHostname.toolTipText")); // NOI18N
|
||||||
|
|
||||||
tbMsgUsername.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
|
tbMsgUsername.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
|
||||||
tbMsgUsername.setText(org.openide.util.NbBundle.getMessage(MultiUserSettingsPanel.class, "MultiUserSettingsPanel.tbMsgUsername.text")); // NOI18N
|
tbMsgUsername.setText(org.openide.util.NbBundle.getMessage(MultiUserSettingsPanel.class, "MultiUserSettingsPanel.tbMsgUsername.text")); // NOI18N
|
||||||
@ -325,7 +325,7 @@ public final class MultiUserSettingsPanel extends javax.swing.JPanel {
|
|||||||
.addGroup(pnMessagingSettingsLayout.createSequentialGroup()
|
.addGroup(pnMessagingSettingsLayout.createSequentialGroup()
|
||||||
.addContainerGap()
|
.addContainerGap()
|
||||||
.addGroup(pnMessagingSettingsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
.addGroup(pnMessagingSettingsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addComponent(tbMsgHost)
|
.addComponent(tbMsgHostname)
|
||||||
.addGroup(pnMessagingSettingsLayout.createSequentialGroup()
|
.addGroup(pnMessagingSettingsLayout.createSequentialGroup()
|
||||||
.addComponent(lbMessageServiceSettings)
|
.addComponent(lbMessageServiceSettings)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 229, Short.MAX_VALUE)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 229, Short.MAX_VALUE)
|
||||||
@ -342,12 +342,12 @@ public final class MultiUserSettingsPanel extends javax.swing.JPanel {
|
|||||||
.addGroup(pnMessagingSettingsLayout.createSequentialGroup()
|
.addGroup(pnMessagingSettingsLayout.createSequentialGroup()
|
||||||
.addContainerGap()
|
.addContainerGap()
|
||||||
.addGroup(pnMessagingSettingsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
|
.addGroup(pnMessagingSettingsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
|
||||||
.addGroup(pnMessagingSettingsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
.addGroup(pnMessagingSettingsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addComponent(lbMessageServiceSettings)
|
.addComponent(bnTestMessageService, javax.swing.GroupLayout.Alignment.TRAILING)
|
||||||
.addComponent(bnTestMessageService))
|
.addComponent(lbMessageServiceSettings))
|
||||||
.addComponent(lbTestMessageService, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
|
.addComponent(lbTestMessageService, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||||
.addComponent(tbMsgHost, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addComponent(tbMsgHostname, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addComponent(tbMsgPort, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addComponent(tbMsgPort, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
@ -461,7 +461,7 @@ public final class MultiUserSettingsPanel extends javax.swing.JPanel {
|
|||||||
MessageServiceConnectionInfo messagingConnectionInfo = new MessageServiceConnectionInfo(
|
MessageServiceConnectionInfo messagingConnectionInfo = new MessageServiceConnectionInfo(
|
||||||
this.tbMsgUsername.getText(),
|
this.tbMsgUsername.getText(),
|
||||||
new String(this.tbMsgPassword.getPassword()),
|
new String(this.tbMsgPassword.getPassword()),
|
||||||
this.tbMsgHost.getText(),
|
this.tbMsgHostname.getText(),
|
||||||
this.tbMsgPort.getText());
|
this.tbMsgPort.getText());
|
||||||
if (messagingConnectionInfo.canConnect()) {
|
if (messagingConnectionInfo.canConnect()) {
|
||||||
lbTestMessageService.setIcon(goodIcon);
|
lbTestMessageService.setIcon(goodIcon);
|
||||||
@ -491,7 +491,7 @@ public final class MultiUserSettingsPanel extends javax.swing.JPanel {
|
|||||||
tbDbPassword.setText(dbInfo.getPassword());
|
tbDbPassword.setText(dbInfo.getPassword());
|
||||||
|
|
||||||
MessageServiceConnectionInfo msgServiceInfo = UserPreferences.getMessageServiceConnectionInfo();
|
MessageServiceConnectionInfo msgServiceInfo = UserPreferences.getMessageServiceConnectionInfo();
|
||||||
tbMsgHost.setText(msgServiceInfo.getHost().trim());
|
tbMsgHostname.setText(msgServiceInfo.getHost().trim());
|
||||||
tbMsgPort.setText(msgServiceInfo.getPort().trim());
|
tbMsgPort.setText(msgServiceInfo.getPort().trim());
|
||||||
tbMsgUsername.setText(msgServiceInfo.getUserName().trim());
|
tbMsgUsername.setText(msgServiceInfo.getUserName().trim());
|
||||||
tbMsgPassword.setText(msgServiceInfo.getPassword());
|
tbMsgPassword.setText(msgServiceInfo.getPassword());
|
||||||
@ -548,7 +548,7 @@ public final class MultiUserSettingsPanel extends javax.swing.JPanel {
|
|||||||
* @return True or false.
|
* @return True or false.
|
||||||
*/
|
*/
|
||||||
private boolean messageServiceFieldsArePopulated() {
|
private boolean messageServiceFieldsArePopulated() {
|
||||||
return !tbMsgHost.getText().isEmpty()
|
return !tbMsgHostname.getText().isEmpty()
|
||||||
&& !tbMsgPort.getText().isEmpty()
|
&& !tbMsgPort.getText().isEmpty()
|
||||||
&& !tbMsgUsername.getText().isEmpty()
|
&& !tbMsgUsername.getText().isEmpty()
|
||||||
&& tbMsgPassword.getPassword().length != 0;
|
&& tbMsgPassword.getPassword().length != 0;
|
||||||
@ -575,7 +575,7 @@ public final class MultiUserSettingsPanel extends javax.swing.JPanel {
|
|||||||
MessageServiceConnectionInfo msgServiceInfo = new MessageServiceConnectionInfo(
|
MessageServiceConnectionInfo msgServiceInfo = new MessageServiceConnectionInfo(
|
||||||
tbMsgUsername.getText().trim(),
|
tbMsgUsername.getText().trim(),
|
||||||
new String(tbMsgPassword.getPassword()),
|
new String(tbMsgPassword.getPassword()),
|
||||||
tbMsgHost.getText().trim(),
|
tbMsgHostname.getText().trim(),
|
||||||
tbMsgPort.getText().trim());
|
tbMsgPort.getText().trim());
|
||||||
UserPreferences.setMessageServiceConnectionInfo(msgServiceInfo);
|
UserPreferences.setMessageServiceConnectionInfo(msgServiceInfo);
|
||||||
|
|
||||||
@ -713,7 +713,7 @@ public final class MultiUserSettingsPanel extends javax.swing.JPanel {
|
|||||||
private javax.swing.JPasswordField tbDbPassword;
|
private javax.swing.JPasswordField tbDbPassword;
|
||||||
private javax.swing.JTextField tbDbPort;
|
private javax.swing.JTextField tbDbPort;
|
||||||
private javax.swing.JTextField tbDbUsername;
|
private javax.swing.JTextField tbDbUsername;
|
||||||
private javax.swing.JTextField tbMsgHost;
|
private javax.swing.JTextField tbMsgHostname;
|
||||||
private javax.swing.JPasswordField tbMsgPassword;
|
private javax.swing.JPasswordField tbMsgPassword;
|
||||||
private javax.swing.JTextField tbMsgPort;
|
private javax.swing.JTextField tbMsgPort;
|
||||||
private javax.swing.JTextField tbMsgUsername;
|
private javax.swing.JTextField tbMsgUsername;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user