desktop/desktop-sample/src/main/java/cz/xelfi/quoridor/desktop/sample/KukTopComponent.form
branchdesktop
changeset 261 cf7e6b8259e1
parent 257 03762a20a808
child 269 430ab68846fa
     1.1 --- a/desktop/desktop-sample/src/main/java/cz/xelfi/quoridor/desktop/sample/KukTopComponent.form	Sat Sep 11 21:01:31 2010 +0200
     1.2 +++ b/desktop/desktop-sample/src/main/java/cz/xelfi/quoridor/desktop/sample/KukTopComponent.form	Mon Sep 13 21:02:55 2010 +0200
     1.3 @@ -1,6 +1,15 @@
     1.4  <?xml version="1.1" encoding="UTF-8" ?>
     1.5  
     1.6  <Form version="1.4" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
     1.7 +  <NonVisualComponents>
     1.8 +    <Component class="javax.swing.JLabel" name="jLabel1">
     1.9 +      <Properties>
    1.10 +        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
    1.11 +          <ResourceString bundle="cz/xelfi/quoridor/desktop/sample/Bundle.properties" key="KukTopComponent.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
    1.12 +        </Property>
    1.13 +      </Properties>
    1.14 +    </Component>
    1.15 +  </NonVisualComponents>
    1.16    <AuxValues>
    1.17      <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
    1.18      <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
    1.19 @@ -16,25 +25,25 @@
    1.20    <Layout>
    1.21      <DimensionLayout dim="0">
    1.22        <Group type="103" groupAlignment="0" attributes="0">
    1.23 -          <EmptySpace min="0" pref="450" max="32767" attributes="0"/>
    1.24 -          <Group type="103" rootIndex="1" groupAlignment="0" attributes="0">
    1.25 -              <Group type="102" attributes="0">
    1.26 -                  <EmptySpace min="0" pref="0" max="32767" attributes="0"/>
    1.27 -                  <Component id="boardPane1" min="-2" max="-2" attributes="0"/>
    1.28 -                  <EmptySpace min="0" pref="0" max="32767" attributes="0"/>
    1.29 -              </Group>
    1.30 +          <Group type="102" alignment="0" attributes="0">
    1.31 +              <Component id="jButton1" min="-2" max="-2" attributes="0"/>
    1.32 +              <EmptySpace pref="225" max="32767" attributes="0"/>
    1.33            </Group>
    1.34 +          <Group type="102" alignment="0" attributes="0">
    1.35 +              <Component id="jButton2" min="-2" max="-2" attributes="0"/>
    1.36 +              <EmptySpace max="-2" attributes="0"/>
    1.37 +          </Group>
    1.38 +          <Component id="boardPane1" alignment="1" pref="312" max="32767" attributes="0"/>
    1.39        </Group>
    1.40      </DimensionLayout>
    1.41      <DimensionLayout dim="1">
    1.42        <Group type="103" groupAlignment="0" attributes="0">
    1.43 -          <EmptySpace min="0" pref="450" max="32767" attributes="0"/>
    1.44 -          <Group type="103" rootIndex="1" groupAlignment="0" attributes="0">
    1.45 -              <Group type="102" attributes="0">
    1.46 -                  <EmptySpace min="0" pref="0" max="32767" attributes="0"/>
    1.47 -                  <Component id="boardPane1" min="-2" max="-2" attributes="0"/>
    1.48 -                  <EmptySpace min="0" pref="0" max="32767" attributes="0"/>
    1.49 -              </Group>
    1.50 +          <Group type="102" alignment="0" attributes="0">
    1.51 +              <Component id="jButton1" min="-2" max="-2" attributes="0"/>
    1.52 +              <EmptySpace max="-2" attributes="0"/>
    1.53 +              <Component id="boardPane1" pref="282" max="32767" attributes="0"/>
    1.54 +              <EmptySpace max="-2" attributes="0"/>
    1.55 +              <Component id="jButton2" min="-2" max="-2" attributes="0"/>
    1.56            </Group>
    1.57        </Group>
    1.58      </DimensionLayout>
    1.59 @@ -42,5 +51,31 @@
    1.60    <SubComponents>
    1.61      <Component class="cz.xelfi.quoridor.visidor.BoardPane" name="boardPane1">
    1.62      </Component>
    1.63 +    <Component class="javax.swing.JButton" name="jButton1">
    1.64 +      <Properties>
    1.65 +        <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
    1.66 +          <Image iconType="3" name="/cz/xelfi/quoridor/desktop/sample/black.png"/>
    1.67 +        </Property>
    1.68 +        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
    1.69 +          <ResourceString bundle="cz/xelfi/quoridor/desktop/sample/Bundle.properties" key="KukTopComponent.jButton1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
    1.70 +        </Property>
    1.71 +      </Properties>
    1.72 +      <Events>
    1.73 +        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
    1.74 +      </Events>
    1.75 +    </Component>
    1.76 +    <Component class="javax.swing.JButton" name="jButton2">
    1.77 +      <Properties>
    1.78 +        <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
    1.79 +          <Image iconType="3" name="/cz/xelfi/quoridor/desktop/sample/white.png"/>
    1.80 +        </Property>
    1.81 +        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
    1.82 +          <ResourceString bundle="cz/xelfi/quoridor/desktop/sample/Bundle.properties" key="KukTopComponent.jButton2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
    1.83 +        </Property>
    1.84 +      </Properties>
    1.85 +      <Events>
    1.86 +        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/>
    1.87 +      </Events>
    1.88 +    </Component>
    1.89    </SubComponents>
    1.90  </Form>