| <?xml version="1.0" encoding="UTF-8" ?> |
| |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| |
| <Form version="1.5" maxVersion="1.5" type="org.netbeans.modules.form.forminfo.JPanelFormInfo"> |
| <NonVisualComponents> |
| <Component class="javax.swing.ButtonGroup" name="sexButtonGroup"> |
| </Component> |
| <Component class="clienteditor.AgeConverter" name="ageConverter"> |
| </Component> |
| <Component class="clienteditor.AgeValidator" name="ageValidator"> |
| </Component> |
| <Component class="clienteditor.MaritalStatusConverter" name="maritalStatusConverter"> |
| </Component> |
| <Component class="clienteditor.RequiredStringValidator" name="requiredStringValidator"> |
| </Component> |
| <Component class="clienteditor.EmailValidator" name="emailValidator"> |
| </Component> |
| </NonVisualComponents> |
| <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" alignment="1" attributes="0"> |
| <EmptySpace max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="1" attributes="0"> |
| <Component id="clientInfoPane" alignment="0" pref="370" max="32767" attributes="1"/> |
| <Group type="102" alignment="0" attributes="0"> |
| <Component id="clientInfoLabel" min="-2" max="-2" attributes="0"/> |
| <EmptySpace max="-2" attributes="0"/> |
| <Component id="usernameLabel" pref="248" max="32767" attributes="0"/> |
| </Group> |
| <Component id="validationMsgLabel" alignment="0" pref="370" max="32767" attributes="2"/> |
| </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"> |
| <EmptySpace min="-2" max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="3" attributes="0"> |
| <Component id="clientInfoLabel" alignment="3" min="-2" pref="27" max="-2" attributes="0"/> |
| <Component id="usernameLabel" alignment="3" min="-2" pref="27" max="-2" attributes="0"/> |
| </Group> |
| <EmptySpace type="unrelated" min="-2" max="-2" attributes="0"/> |
| <Component id="clientInfoPane" max="32767" attributes="0"/> |
| <EmptySpace min="-2" pref="5" max="-2" attributes="0"/> |
| <Component id="validationMsgLabel" min="-2" pref="18" max="-2" attributes="0"/> |
| <EmptySpace min="-2" max="-2" attributes="0"/> |
| </Group> |
| </Group> |
| </DimensionLayout> |
| </Layout> |
| <SubComponents> |
| <Container class="javax.swing.JTabbedPane" name="clientInfoPane"> |
| |
| <Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/> |
| <SubComponents> |
| <Container class="javax.swing.JPanel" name="personalPanel"> |
| <Properties> |
| <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> |
| <Border info="org.netbeans.modules.form.compat2.border.EtchedBorderInfo"> |
| <EtchetBorder/> |
| </Border> |
| </Property> |
| </Properties> |
| <Constraints> |
| <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> |
| <JTabbedPaneConstraints tabName="Personal"> |
| <Property name="tabTitle" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> |
| <PlainString value="Personal"/> |
| </Property> |
| </JTabbedPaneConstraints> |
| </Constraint> |
| </Constraints> |
| |
| <Layout> |
| <DimensionLayout dim="0"> |
| <Group type="103" groupAlignment="0" attributes="0"> |
| <Group type="102" attributes="0"> |
| <EmptySpace max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="0" attributes="0"> |
| <Component id="sexLabel" alignment="0" min="-2" max="-2" attributes="0"/> |
| <Group type="102" alignment="0" attributes="0"> |
| <Group type="103" groupAlignment="0" attributes="0"> |
| <Component id="firstNameLabel" alignment="0" min="-2" max="-2" attributes="0"/> |
| <Component id="surnameLabel" alignment="0" min="-2" max="-2" attributes="0"/> |
| <Component id="maritalStatusLabel" alignment="0" min="-2" max="-2" attributes="0"/> |
| <Component id="ageLabel" alignment="0" min="-2" max="-2" attributes="0"/> |
| </Group> |
| <EmptySpace min="-2" pref="7" max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="0" attributes="0"> |
| <Group type="102" attributes="0"> |
| <Component id="maleRadioButton" min="-2" max="-2" attributes="1"/> |
| <EmptySpace max="-2" attributes="0"/> |
| <Component id="femaleRadioButton" min="-2" max="-2" attributes="0"/> |
| </Group> |
| <Component id="firstNameTextField" alignment="0" pref="265" max="32767" attributes="2"/> |
| <Component id="surnameTextField" alignment="0" pref="265" max="32767" attributes="2"/> |
| <Group type="103" alignment="0" groupAlignment="1" max="-2" attributes="0"> |
| <Component id="ageTextField" alignment="0" max="32767" attributes="1"/> |
| <Component id="maritalComboBox" alignment="0" max="32767" attributes="1"/> |
| </Group> |
| </Group> |
| </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 max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="3" attributes="0"> |
| <Component id="firstNameLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
| <Component id="firstNameTextField" alignment="3" min="-2" max="-2" attributes="0"/> |
| </Group> |
| <EmptySpace max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="3" attributes="0"> |
| <Component id="surnameLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
| <Component id="surnameTextField" alignment="3" min="-2" max="-2" attributes="0"/> |
| </Group> |
| <EmptySpace max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="3" attributes="0"> |
| <Component id="maritalStatusLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
| <Component id="maritalComboBox" alignment="3" min="-2" max="-2" attributes="0"/> |
| </Group> |
| <EmptySpace max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="3" attributes="0"> |
| <Component id="ageLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
| <Component id="ageTextField" alignment="3" min="-2" max="-2" attributes="0"/> |
| </Group> |
| <EmptySpace max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="3" attributes="0"> |
| <Component id="sexLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
| <Component id="femaleRadioButton" alignment="3" min="-2" max="-2" attributes="0"/> |
| <Component id="maleRadioButton" alignment="3" min="-2" max="-2" attributes="0"/> |
| </Group> |
| <EmptySpace max="32767" attributes="0"/> |
| </Group> |
| </Group> |
| </DimensionLayout> |
| </Layout> |
| <SubComponents> |
| <Component class="javax.swing.JLabel" name="firstNameLabel"> |
| <Properties> |
| <Property name="text" type="java.lang.String" value="First Name:" noResource="true"/> |
| </Properties> |
| </Component> |
| <Component class="javax.swing.JTextField" name="firstNameTextField"> |
| <BindingProperties> |
| <BindingProperty name="text" source="Form" sourcePath="${client.firstName}" target="firstNameTextField" targetPath="text" updateStrategy="0" immediately="false"> |
| <Property name="name" type="java.lang.String" value="firstName" noResource="true"/> |
| </BindingProperty> |
| </BindingProperties> |
| </Component> |
| <Component class="javax.swing.JLabel" name="surnameLabel"> |
| <Properties> |
| <Property name="text" type="java.lang.String" value="Surname:" noResource="true"/> |
| </Properties> |
| </Component> |
| <Component class="javax.swing.JTextField" name="surnameTextField"> |
| <BindingProperties> |
| <BindingProperty name="text" source="Form" sourcePath="${client.surname}" target="surnameTextField" targetPath="text" updateStrategy="0" immediately="false"> |
| <Property name="validator" type="org.jdesktop.beansbinding.Validator" editor="org.netbeans.modules.form.ComponentChooserEditor"> |
| <ComponentRef name="requiredStringValidator"/> |
| </Property> |
| <Property name="name" type="java.lang.String" value="surname" noResource="true"/> |
| </BindingProperty> |
| </BindingProperties> |
| </Component> |
| <Component class="javax.swing.JComboBox" name="maritalComboBox"> |
| <Properties> |
| <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> |
| <StringArray count="4"> |
| <StringItem index="0" value="Single"/> |
| <StringItem index="1" value="Married"/> |
| <StringItem index="2" value="Separated"/> |
| <StringItem index="3" value="Divorced"/> |
| </StringArray> |
| </Property> |
| </Properties> |
| <BindingProperties> |
| <BindingProperty name="selectedItem" source="Form" sourcePath="${client.maritalStatus}" target="maritalComboBox" targetPath="selectedItem" updateStrategy="0" immediately="false"> |
| <Property name="converter" type="org.jdesktop.beansbinding.Converter" editor="org.netbeans.modules.form.ComponentChooserEditor"> |
| <ComponentRef name="maritalStatusConverter"/> |
| </Property> |
| <Property name="name" type="java.lang.String" value="maritalStatus" noResource="true"/> |
| </BindingProperty> |
| </BindingProperties> |
| </Component> |
| <Component class="javax.swing.JLabel" name="sexLabel"> |
| <Properties> |
| <Property name="text" type="java.lang.String" value="Sex:" noResource="true"/> |
| </Properties> |
| </Component> |
| <Component class="javax.swing.JLabel" name="maritalStatusLabel"> |
| <Properties> |
| <Property name="text" type="java.lang.String" value="Marital status:" noResource="true"/> |
| </Properties> |
| </Component> |
| <Component class="javax.swing.JRadioButton" name="maleRadioButton"> |
| <Properties> |
| <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> |
| <ComponentRef name="sexButtonGroup"/> |
| </Property> |
| <Property name="text" type="java.lang.String" value="male" noResource="true"/> |
| </Properties> |
| <BindingProperties> |
| <BindingProperty name="selected" source="Form" sourcePath="${client.sex}" target="maleRadioButton" targetPath="selected" updateStrategy="0" immediately="false"> |
| <Property name="name" type="java.lang.String" value="sex" noResource="true"/> |
| </BindingProperty> |
| </BindingProperties> |
| </Component> |
| <Component class="javax.swing.JRadioButton" name="femaleRadioButton"> |
| <Properties> |
| <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> |
| <ComponentRef name="sexButtonGroup"/> |
| </Property> |
| <Property name="text" type="java.lang.String" value="female" noResource="true"/> |
| </Properties> |
| </Component> |
| <Component class="javax.swing.JLabel" name="ageLabel"> |
| <Properties> |
| <Property name="text" type="java.lang.String" value="Age:" noResource="true"/> |
| </Properties> |
| </Component> |
| <Component class="javax.swing.JTextField" name="ageTextField"> |
| <BindingProperties> |
| <BindingProperty name="text" source="Form" sourcePath="${client.age}" target="ageTextField" targetPath="text" updateStrategy="0" immediately="false"> |
| <Property name="converter" type="org.jdesktop.beansbinding.Converter" editor="org.netbeans.modules.form.ComponentChooserEditor"> |
| <ComponentRef name="ageConverter"/> |
| </Property> |
| <Property name="validator" type="org.jdesktop.beansbinding.Validator" editor="org.netbeans.modules.form.ComponentChooserEditor"> |
| <ComponentRef name="ageValidator"/> |
| </Property> |
| <Property name="name" type="java.lang.String" value="age"/> |
| </BindingProperty> |
| </BindingProperties> |
| </Component> |
| </SubComponents> |
| </Container> |
| <Container class="javax.swing.JPanel" name="contactPanel"> |
| <Properties> |
| <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> |
| <Border info="org.netbeans.modules.form.compat2.border.EtchedBorderInfo"> |
| <EtchetBorder/> |
| </Border> |
| </Property> |
| </Properties> |
| <Constraints> |
| <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> |
| <JTabbedPaneConstraints tabName="Contact"> |
| <Property name="tabTitle" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> |
| <PlainString value="Contact"/> |
| </Property> |
| </JTabbedPaneConstraints> |
| </Constraint> |
| </Constraints> |
| |
| <Layout> |
| <DimensionLayout dim="0"> |
| <Group type="103" groupAlignment="0" attributes="0"> |
| <Group type="102" attributes="0"> |
| <EmptySpace max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="0" attributes="0"> |
| <Component id="nicknameLabel" alignment="0" min="-2" max="-2" attributes="0"/> |
| <Component id="emailLabel" alignment="0" min="-2" max="-2" attributes="0"/> |
| <Component id="webLabel" alignment="0" min="-2" max="-2" attributes="0"/> |
| <Component id="imLabel" alignment="0" min="-2" max="-2" attributes="0"/> |
| </Group> |
| <EmptySpace max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="0" attributes="0"> |
| <Component id="nicknameTextField" alignment="0" pref="288" max="32767" attributes="0"/> |
| <Component id="emailTextField" alignment="0" pref="288" max="32767" attributes="0"/> |
| <Component id="webTextField" alignment="0" pref="288" max="32767" attributes="0"/> |
| <Component id="imTextField" alignment="0" pref="288" max="32767" 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"> |
| <EmptySpace max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="3" attributes="0"> |
| <Component id="nicknameLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
| <Component id="nicknameTextField" alignment="3" min="-2" max="-2" attributes="0"/> |
| </Group> |
| <EmptySpace max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="3" attributes="0"> |
| <Component id="emailLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
| <Component id="emailTextField" alignment="3" min="-2" max="-2" attributes="0"/> |
| </Group> |
| <EmptySpace max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="3" attributes="0"> |
| <Component id="webLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
| <Component id="webTextField" alignment="3" min="-2" max="-2" attributes="0"/> |
| </Group> |
| <EmptySpace max="-2" attributes="0"/> |
| <Group type="103" groupAlignment="3" attributes="0"> |
| <Component id="imLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
| <Component id="imTextField" alignment="3" min="-2" max="-2" attributes="0"/> |
| </Group> |
| <EmptySpace pref="34" max="32767" attributes="0"/> |
| </Group> |
| </Group> |
| </DimensionLayout> |
| </Layout> |
| <SubComponents> |
| <Component class="javax.swing.JLabel" name="nicknameLabel"> |
| <Properties> |
| <Property name="text" type="java.lang.String" value="Nickname:" noResource="true"/> |
| </Properties> |
| </Component> |
| <Component class="javax.swing.JLabel" name="emailLabel"> |
| <Properties> |
| <Property name="text" type="java.lang.String" value="E-mail:" noResource="true"/> |
| </Properties> |
| </Component> |
| <Component class="javax.swing.JLabel" name="webLabel"> |
| <Properties> |
| <Property name="text" type="java.lang.String" value="Web:" noResource="true"/> |
| </Properties> |
| </Component> |
| <Component class="javax.swing.JLabel" name="imLabel"> |
| <Properties> |
| <Property name="text" type="java.lang.String" value="IM:" noResource="true"/> |
| </Properties> |
| </Component> |
| <Component class="javax.swing.JTextField" name="nicknameTextField"> |
| <BindingProperties> |
| <BindingProperty name="text" source="Form" sourcePath="${client.nickname}" target="nicknameTextField" targetPath="text" updateStrategy="0" immediately="false"> |
| <Property name="name" type="java.lang.String" value="nickname" noResource="true"/> |
| </BindingProperty> |
| </BindingProperties> |
| </Component> |
| <Component class="javax.swing.JTextField" name="emailTextField"> |
| <BindingProperties> |
| <BindingProperty name="text" source="Form" sourcePath="${client.email}" target="emailTextField" targetPath="text" updateStrategy="0" immediately="false"> |
| <Property name="validator" type="org.jdesktop.beansbinding.Validator" editor="org.netbeans.modules.form.ComponentChooserEditor"> |
| <ComponentRef name="emailValidator"/> |
| </Property> |
| <Property name="name" type="java.lang.String" value="email"/> |
| </BindingProperty> |
| </BindingProperties> |
| </Component> |
| <Component class="javax.swing.JTextField" name="webTextField"> |
| <BindingProperties> |
| <BindingProperty name="text" source="Form" sourcePath="${client.web}" target="webTextField" targetPath="text" updateStrategy="0" immediately="false"> |
| <Property name="name" type="java.lang.String" value="web"/> |
| </BindingProperty> |
| </BindingProperties> |
| </Component> |
| <Component class="javax.swing.JTextField" name="imTextField"> |
| <BindingProperties> |
| <BindingProperty name="text" source="Form" sourcePath="${client.im}" target="imTextField" targetPath="text" updateStrategy="0" immediately="false"> |
| <Property name="name" type="java.lang.String" value="im"/> |
| </BindingProperty> |
| </BindingProperties> |
| </Component> |
| </SubComponents> |
| </Container> |
| </SubComponents> |
| </Container> |
| <Component class="javax.swing.JLabel" name="usernameLabel"> |
| <Properties> |
| <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> |
| <Font name="Dialog" size="24" style="1"/> |
| </Property> |
| </Properties> |
| <BindingProperties> |
| <BindingProperty name="text" source="Form" sourcePath="${client.firstName} ${client.surname}" target="usernameLabel" targetPath="text" updateStrategy="0" immediately="false"> |
| <Property name="name" type="java.lang.String" value="displayNameTitle"/> |
| </BindingProperty> |
| </BindingProperties> |
| </Component> |
| <Component class="javax.swing.JLabel" name="clientInfoLabel"> |
| <Properties> |
| <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> |
| <Font name="Dialog" size="24" style="0"/> |
| </Property> |
| <Property name="text" type="java.lang.String" value="Client Info:" noResource="true"/> |
| </Properties> |
| </Component> |
| <Component class="javax.swing.JLabel" name="validationMsgLabel"> |
| <Properties> |
| <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> |
| <Font name="Dialog" size="11" style="1"/> |
| </Property> |
| <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> |
| <Color blue="0" green="0" red="ff" type="rgb"/> |
| </Property> |
| </Properties> |
| </Component> |
| </SubComponents> |
| </Form> |