<?xml version="1.0" encoding="UTF-8" ?>

<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JInternalFrameFormInfo">
  <Properties>
    <Property name="title" type="java.lang.String" value="Connect to server"/>
    <Property name="normalBounds" type="java.awt.Rectangle" editor="org.netbeans.beaninfo.editors.RectangleEditor">
      <Rectangle value="[100, 100, 410, 307]"/>
    </Property>
  </Properties>
  <SyntheticProperties>
    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
  </SyntheticProperties>
  <AuxValues>
    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
    <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="false"/>
    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
    <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"/>
  </AuxValues>

  <Layout>
    <DimensionLayout dim="0">
      <Group type="103" groupAlignment="0" attributes="0">
          <Group type="102" attributes="0">
              <EmptySpace min="-2" max="-2" attributes="0"/>
              <Group type="103" groupAlignment="0" attributes="0">
                  <Group type="102" alignment="0" attributes="0">
                      <Group type="103" groupAlignment="0" attributes="0">
                          <Group type="103" groupAlignment="1" attributes="0">
                              <Component id="lblPort" alignment="1" min="-2" max="-2" attributes="0"/>
                              <Component id="lblServer" min="-2" max="-2" attributes="0"/>
                              <Component id="lblUserName" min="-2" max="-2" attributes="0"/>
                              <Component id="lblPassword" min="-2" max="-2" attributes="0"/>
                          </Group>
                          <Component id="lblFlag" alignment="1" min="-2" max="-2" attributes="0"/>
                      </Group>
                      <EmptySpace min="-2" max="-2" attributes="0"/>
                      <Group type="103" groupAlignment="0" attributes="0">
                          <Component id="lblStatus" alignment="1" max="32767" attributes="0"/>
                          <Component id="chkForceUpdateDB" alignment="0" max="32767" attributes="0"/>
                          <Component id="chkAutoConnect" alignment="0" pref="386" max="32767" attributes="0"/>
                          <Component id="jProxySettingsButton" min="-2" max="-2" attributes="0"/>
                          <Component id="cbFlag" min="-2" max="-2" attributes="0"/>
                          <Group type="102" alignment="0" attributes="0">
                              <Group type="103" groupAlignment="0" max="-2" attributes="0">
                                  <Component id="txtServer" alignment="1" pref="286" max="32767" attributes="0"/>
                                  <Component id="txtUserName" alignment="1" max="32767" attributes="0"/>
                                  <Component id="txtPassword" alignment="1" max="32767" attributes="0"/>
                                  <Group type="102" alignment="0" attributes="0">
                                      <Component id="txtPort" min="-2" pref="71" max="-2" attributes="0"/>
                                      <EmptySpace max="-2" attributes="0"/>
                                      <Component id="btnFind1" max="32767" attributes="0"/>
                                      <EmptySpace max="-2" attributes="0"/>
                                      <Component id="btnFind3" min="-2" pref="42" max="-2" attributes="0"/>
                                      <EmptySpace min="-2" max="-2" attributes="0"/>
                                      <Component id="btnFind2" min="-2" pref="42" max="-2" attributes="0"/>
                                      <EmptySpace min="69" pref="69" max="-2" attributes="0"/>
                                  </Group>
                              </Group>
                              <EmptySpace min="-2" pref="8" max="-2" attributes="0"/>
                              <Component id="btnFind" pref="92" max="32767" attributes="0"/>
                          </Group>
                      </Group>
                  </Group>
                  <Group type="102" alignment="1" attributes="0">
                      <EmptySpace min="0" pref="0" max="32767" attributes="0"/>
                      <Group type="103" groupAlignment="1" attributes="0">
                          <Component id="btnRegister" min="-2" max="-2" attributes="0"/>
                          <Group type="102" attributes="0">
                              <Component id="btnConnect" min="-2" max="-2" attributes="0"/>
                              <EmptySpace max="-2" attributes="0"/>
                              <Component id="btnForgotPassword" min="-2" max="-2" attributes="0"/>
                              <EmptySpace max="-2" attributes="0"/>
                              <Component id="btnCancel" min="-2" max="-2" attributes="0"/>
                          </Group>
                      </Group>
                      <EmptySpace min="-2" pref="26" max="-2" attributes="0"/>
                  </Group>
              </Group>
              <EmptySpace min="-2" max="-2" attributes="0"/>
          </Group>
      </Group>
    </DimensionLayout>
    <DimensionLayout dim="1">
      <Group type="103" groupAlignment="0" attributes="0">
          <Group type="102" alignment="0" attributes="0">
              <EmptySpace min="-2" max="-2" attributes="0"/>
              <Group type="103" groupAlignment="3" attributes="0">
                  <Component id="lblServer" alignment="3" min="-2" max="-2" attributes="0"/>
                  <Component id="txtServer" alignment="3" min="-2" max="-2" attributes="0"/>
                  <Component id="btnFind" alignment="3" min="-2" max="-2" attributes="0"/>
              </Group>
              <EmptySpace min="-2" max="-2" attributes="0"/>
              <Group type="103" groupAlignment="3" attributes="0">
                  <Component id="txtPort" alignment="3" min="-2" max="-2" attributes="0"/>
                  <Component id="lblPort" alignment="3" min="-2" max="-2" attributes="0"/>
                  <Component id="btnFind1" alignment="3" min="-2" max="-2" attributes="0"/>
                  <Component id="btnFind2" alignment="3" min="-2" max="-2" attributes="0"/>
                  <Component id="btnFind3" alignment="3" min="-2" max="-2" attributes="0"/>
              </Group>
              <EmptySpace min="-2" max="-2" attributes="0"/>
              <Group type="103" groupAlignment="0" attributes="0">
                  <Component id="txtUserName" min="-2" max="-2" attributes="0"/>
                  <Component id="lblUserName" min="-2" max="-2" attributes="0"/>
              </Group>
              <EmptySpace min="-2" max="-2" attributes="0"/>
              <Group type="103" groupAlignment="0" attributes="0">
                  <Component id="txtPassword" min="-2" max="-2" attributes="0"/>
                  <Component id="lblPassword" min="-2" max="-2" attributes="0"/>
              </Group>
              <EmptySpace max="-2" attributes="0"/>
              <Group type="103" groupAlignment="0" max="-2" attributes="0">
                  <Component id="lblFlag" max="32767" attributes="0"/>
                  <Component id="cbFlag" max="32767" attributes="0"/>
              </Group>
              <EmptySpace min="-2" pref="5" max="-2" attributes="0"/>
              <Component id="chkAutoConnect" min="-2" max="-2" attributes="0"/>
              <EmptySpace max="-2" attributes="0"/>
              <Component id="chkForceUpdateDB" min="-2" max="-2" attributes="0"/>
              <EmptySpace max="-2" attributes="0"/>
              <Component id="jProxySettingsButton" min="-2" max="-2" attributes="0"/>
              <EmptySpace pref="47" max="32767" attributes="0"/>
              <Component id="lblStatus" min="-2" pref="24" max="-2" attributes="0"/>
              <EmptySpace max="-2" attributes="0"/>
              <Group type="103" groupAlignment="3" attributes="0">
                  <Component id="btnConnect" alignment="3" min="-2" max="-2" attributes="0"/>
                  <Component id="btnCancel" alignment="3" min="-2" max="-2" attributes="0"/>
                  <Component id="btnForgotPassword" alignment="3" min="-2" max="-2" attributes="0"/>
              </Group>
              <EmptySpace min="-2" pref="3" max="-2" attributes="0"/>
              <Component id="btnRegister" min="-2" max="-2" attributes="0"/>
              <EmptySpace max="-2" attributes="0"/>
          </Group>
      </Group>
    </DimensionLayout>
  </Layout>
  <SubComponents>
    <Component class="javax.swing.JLabel" name="lblServer">
      <Properties>
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
          <ComponentRef name="txtServer"/>
        </Property>
        <Property name="text" type="java.lang.String" value="Server:"/>
      </Properties>
    </Component>
    <Component class="javax.swing.JTextField" name="txtServer">
    </Component>
    <Component class="javax.swing.JButton" name="btnFind">
      <Properties>
        <Property name="text" type="java.lang.String" value="Find..."/>
        <Property name="toolTipText" type="java.lang.String" value="Shows the list of public servers"/>
        <Property name="name" type="java.lang.String" value="findServerBtn" noResource="true"/>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="findPublicServerActionPerformed"/>
      </Events>
    </Component>
    <Component class="javax.swing.JLabel" name="lblPort">
      <Properties>
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
          <ComponentRef name="txtPort"/>
        </Property>
        <Property name="text" type="java.lang.String" value="Port:"/>
      </Properties>
    </Component>
    <Component class="javax.swing.JTextField" name="txtPort">
      <Events>
        <EventHandler event="keyTyped" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="keyTyped"/>
      </Events>
    </Component>
    <Component class="javax.swing.JLabel" name="lblUserName">
      <Properties>
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
          <ComponentRef name="txtUserName"/>
        </Property>
        <Property name="text" type="java.lang.String" value="User name:"/>
      </Properties>
    </Component>
    <Component class="javax.swing.JTextField" name="txtUserName">
    </Component>
    <Component class="javax.swing.JLabel" name="lblPassword">
      <Properties>
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
          <ComponentRef name="txtPassword"/>
        </Property>
        <Property name="text" type="java.lang.String" value="Password:"/>
      </Properties>
    </Component>
    <Component class="javax.swing.JPasswordField" name="txtPassword">
    </Component>
    <Component class="javax.swing.JLabel" name="lblFlag">
      <Properties>
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
          <ComponentRef name="txtUserName"/>
        </Property>
        <Property name="text" type="java.lang.String" value="User flag:"/>
      </Properties>
    </Component>
    <Component class="mage.client.util.gui.countryBox.CountryComboBox" name="cbFlag">
      <Properties>
        <Property name="editable" type="boolean" value="true"/>
      </Properties>
    </Component>
    <Component class="javax.swing.JCheckBox" name="chkAutoConnect">
      <Properties>
        <Property name="text" type="java.lang.String" value="Automatically connect to this server next time"/>
        <Property name="toolTipText" type="java.lang.String" value="&lt;HTML&gt;If active this connect dialog will not be shown if you choose to connect.&lt;br&gt;&#xa;Instead XMage tries to connect to the last server you were connected to."/>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="chkAutoConnectActionPerformed"/>
      </Events>
    </Component>
    <Component class="javax.swing.JCheckBox" name="chkForceUpdateDB">
      <Properties>
        <Property name="text" type="java.lang.String" value="Force update of card database"/>
        <Property name="toolTipText" type="java.lang.String" value="&lt;HTML&gt;If active the comparison of the server cards database to the client database will be enforced.&lt;br&gt;If not, the comparison will only done if the database version of the client is lower than the version of the server."/>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="chkForceUpdateDBActionPerformed"/>
      </Events>
    </Component>
    <Component class="javax.swing.JButton" name="jProxySettingsButton">
      <Properties>
        <Property name="text" type="java.lang.String" value="Proxy Settings..."/>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jProxySettingsButtonActionPerformed"/>
      </Events>
    </Component>
    <Component class="javax.swing.JButton" name="btnConnect">
      <Properties>
        <Property name="text" type="java.lang.String" value="Connect"/>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnConnectActionPerformed"/>
      </Events>
    </Component>
    <Component class="javax.swing.JButton" name="btnCancel">
      <Properties>
        <Property name="text" type="java.lang.String" value="Cancel"/>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnCancelActionPerformed"/>
      </Events>
    </Component>
    <Component class="javax.swing.JLabel" name="lblStatus">
    </Component>
    <Component class="javax.swing.JButton" name="btnRegister">
      <Properties>
        <Property name="text" type="java.lang.String" value="Register new user"/>
        <Property name="toolTipText" type="java.lang.String" value="&lt;html&gt;XMage now supports user authentication.&lt;br&gt;Register your account before you log in.&lt;html&gt;"/>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnRegisterActionPerformed"/>
      </Events>
    </Component>
    <Component class="javax.swing.JButton" name="btnForgotPassword">
      <Properties>
        <Property name="text" type="java.lang.String" value="Forgot password"/>
        <Property name="toolTipText" type="java.lang.String" value="&lt;html&gt;You can reset your password if you have registered&lt;br&gt;your account with an email address.&lt;/html&gt;"/>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnForgotPasswordActionPerformed"/>
      </Events>
    </Component>
    <Component class="javax.swing.JButton" name="btnFind1">
      <Properties>
        <Property name="text" type="java.lang.String" value="X"/>
        <Property name="toolTipText" type="java.lang.String" value="Connect to xmage.de"/>
        <Property name="actionCommand" type="java.lang.String" value="connectXmageDe"/>
        <Property name="alignmentY" type="float" value="0.0"/>
        <Property name="horizontalAlignment" type="int" value="2"/>
        <Property name="horizontalTextPosition" type="int" value="2"/>
        <Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
          <Dimension value="[42, 23]"/>
        </Property>
        <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
          <Dimension value="[42, 23]"/>
        </Property>
        <Property name="name" type="java.lang.String" value="connectXmageDeBtn" noResource="true"/>
        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
          <Dimension value="[23, 23]"/>
        </Property>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="connectXmageDe"/>
      </Events>
    </Component>
    <Component class="javax.swing.JButton" name="btnFind2">
      <Properties>
        <Property name="text" type="java.lang.String" value="L"/>
        <Property name="toolTipText" type="java.lang.String" value="Connect to localhost"/>
        <Property name="actionCommand" type="java.lang.String" value="connectLocalhost"/>
        <Property name="alignmentY" type="float" value="0.0"/>
        <Property name="horizontalAlignment" type="int" value="2"/>
        <Property name="horizontalTextPosition" type="int" value="2"/>
        <Property name="name" type="java.lang.String" value="connectLocalhostBtn" noResource="true"/>
        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
          <Dimension value="[23, 23]"/>
        </Property>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="connectLocalhost"/>
      </Events>
    </Component>
    <Component class="javax.swing.JButton" name="btnFind3">
      <Properties>
        <Property name="text" type="java.lang.String" value="W"/>
        <Property name="toolTipText" type="java.lang.String" value="Connect to woogerworks"/>
        <Property name="actionCommand" type="java.lang.String" value="connectWoogerworks"/>
        <Property name="alignmentY" type="float" value="0.0"/>
        <Property name="horizontalAlignment" type="int" value="2"/>
        <Property name="horizontalTextPosition" type="int" value="2"/>
        <Property name="name" type="java.lang.String" value="connectWoogerworksBtn" noResource="true"/>
        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
          <Dimension value="[23, 23]"/>
        </Property>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="connectWoogerworks"/>
      </Events>
    </Component>
  </SubComponents>
</Form>
