samples/componentinjection/anagram-plain/src/org/apidesign/anagram/ui/Anagrams.form
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 10:06:39 +0200
changeset 213 de35ca154c1d
permissions -rw-r--r--
Showing regular Anagram game
jtulach@213
     1
<?xml version="1.0" encoding="UTF-8" ?>
jtulach@213
     2
jtulach@213
     3
<Form version="1.0" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
jtulach@213
     4
  <NonVisualComponents>
jtulach@213
     5
    <Menu class="javax.swing.JMenuBar" name="mainMenu">
jtulach@213
     6
      <SubComponents>
jtulach@213
     7
        <Menu class="javax.swing.JMenu" name="File">
jtulach@213
     8
          <Properties>
jtulach@213
     9
            <Property name="text" type="java.lang.String" value="File"/>
jtulach@213
    10
          </Properties>
jtulach@213
    11
          <SubComponents>
jtulach@213
    12
            <MenuItem class="javax.swing.JMenuItem" name="jMenuItem1">
jtulach@213
    13
              <Properties>
jtulach@213
    14
                <Property name="text" type="java.lang.String" value="About"/>
jtulach@213
    15
                <Property name="toolTipText" type="java.lang.String" value="About"/>
jtulach@213
    16
              </Properties>
jtulach@213
    17
              <Events>
jtulach@213
    18
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem1ActionPerformed"/>
jtulach@213
    19
              </Events>
jtulach@213
    20
            </MenuItem>
jtulach@213
    21
            <MenuItem class="javax.swing.JMenuItem" name="jMenuItem2">
jtulach@213
    22
              <Properties>
jtulach@213
    23
                <Property name="text" type="java.lang.String" value="Exit"/>
jtulach@213
    24
                <Property name="toolTipText" type="java.lang.String" value="Quit Team, Quit!"/>
jtulach@213
    25
              </Properties>
jtulach@213
    26
              <Events>
jtulach@213
    27
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem2ActionPerformed"/>
jtulach@213
    28
              </Events>
jtulach@213
    29
            </MenuItem>
jtulach@213
    30
          </SubComponents>
jtulach@213
    31
        </Menu>
jtulach@213
    32
      </SubComponents>
jtulach@213
    33
    </Menu>
jtulach@213
    34
  </NonVisualComponents>
jtulach@213
    35
  <Properties>
jtulach@213
    36
    <Property name="title" type="java.lang.String" value="Anagrams"/>
jtulach@213
    37
  </Properties>
jtulach@213
    38
  <SyntheticProperties>
jtulach@213
    39
    <SyntheticProperty name="menuBar" type="java.lang.String" value="mainMenu"/>
jtulach@213
    40
    <SyntheticProperty name="formSize" 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,0,-6,0,0,1,-112"/>
jtulach@213
    41
    <SyntheticProperty name="formSizePolicy" type="int" value="0"/>
jtulach@213
    42
    <SyntheticProperty name="generateSize" type="boolean" value="true"/>
jtulach@213
    43
    <SyntheticProperty name="generateCenter" type="boolean" value="true"/>
jtulach@213
    44
  </SyntheticProperties>
jtulach@213
    45
  <Events>
jtulach@213
    46
    <EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="exitForm"/>
jtulach@213
    47
  </Events>
jtulach@213
    48
  <AuxValues>
jtulach@213
    49
    <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,0,-6,0,0,1,-112"/>
jtulach@213
    50
  </AuxValues>
jtulach@213
    51
jtulach@213
    52
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
jtulach@213
    53
  <SubComponents>
jtulach@213
    54
    <Container class="javax.swing.JPanel" name="mainPanel">
jtulach@213
    55
      <Properties>
jtulach@213
    56
        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
jtulach@213
    57
          <Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo">
jtulach@213
    58
            <EmptyBorder bottom="12" left="11" right="12" top="11"/>
jtulach@213
    59
          </Border>
jtulach@213
    60
        </Property>
jtulach@213
    61
        <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
jtulach@213
    62
          <Dimension value="[297, 200]"/>
jtulach@213
    63
        </Property>
jtulach@213
    64
        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
jtulach@213
    65
          <Dimension value="[297, 200]"/>
jtulach@213
    66
        </Property>
jtulach@213
    67
      </Properties>
jtulach@213
    68
      <Constraints>
jtulach@213
    69
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
jtulach@213
    70
          <BorderConstraints direction="Center"/>
jtulach@213
    71
        </Constraint>
jtulach@213
    72
      </Constraints>
jtulach@213
    73
jtulach@213
    74
      <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
jtulach@213
    75
      <SubComponents>
jtulach@213
    76
        <Component class="javax.swing.JLabel" name="scrambledLabel">
jtulach@213
    77
          <Properties>
jtulach@213
    78
            <Property name="text" type="java.lang.String" value="Scrambled Word:"/>
jtulach@213
    79
          </Properties>
jtulach@213
    80
          <Constraints>
jtulach@213
    81
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
jtulach@213
    82
              <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="12" insetsLeft="12" insetsBottom="12" insetsRight="6" anchor="17" weightX="0.0" weightY="0.0"/>
jtulach@213
    83
            </Constraint>
jtulach@213
    84
          </Constraints>
jtulach@213
    85
        </Component>
jtulach@213
    86
        <Component class="javax.swing.JLabel" name="guessLabel">
jtulach@213
    87
          <Properties>
jtulach@213
    88
            <Property name="text" type="java.lang.String" value="Your Guess:"/>
jtulach@213
    89
          </Properties>
jtulach@213
    90
          <Constraints>
jtulach@213
    91
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
jtulach@213
    92
              <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="12" insetsBottom="12" insetsRight="6" anchor="17" weightX="0.0" weightY="0.0"/>
jtulach@213
    93
            </Constraint>
jtulach@213
    94
          </Constraints>
jtulach@213
    95
        </Component>
jtulach@213
    96
        <Component class="javax.swing.JLabel" name="feedbackLabel">
jtulach@213
    97
          <Properties>
jtulach@213
    98
            <Property name="text" type="java.lang.String" value=" "/>
jtulach@213
    99
          </Properties>
jtulach@213
   100
          <Constraints>
jtulach@213
   101
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
jtulach@213
   102
              <GridBagConstraints gridX="1" gridY="2" gridWidth="2" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="6" insetsRight="6" anchor="10" weightX="1.0" weightY="0.0"/>
jtulach@213
   103
            </Constraint>
jtulach@213
   104
          </Constraints>
jtulach@213
   105
        </Component>
jtulach@213
   106
        <Component class="javax.swing.JButton" name="guessButton">
jtulach@213
   107
          <Properties>
jtulach@213
   108
            <Property name="mnemonic" type="int" value="71"/>
jtulach@213
   109
            <Property name="text" type="java.lang.String" value="Guess"/>
jtulach@213
   110
            <Property name="toolTipText" type="java.lang.String" value="Guess the scrambled word."/>
jtulach@213
   111
          </Properties>
jtulach@213
   112
          <Events>
jtulach@213
   113
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="guessedWordActionPerformed"/>
jtulach@213
   114
          </Events>
jtulach@213
   115
          <Constraints>
jtulach@213
   116
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
jtulach@213
   117
              <GridBagConstraints gridX="2" gridY="3" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="11" insetsRight="6" anchor="13" weightX="0.0" weightY="0.0"/>
jtulach@213
   118
            </Constraint>
jtulach@213
   119
          </Constraints>
jtulach@213
   120
        </Component>
jtulach@213
   121
        <Component class="javax.swing.JTextField" name="scrambledWord">
jtulach@213
   122
          <Properties>
jtulach@213
   123
            <Property name="editable" type="boolean" value="false"/>
jtulach@213
   124
          </Properties>
jtulach@213
   125
          <Constraints>
jtulach@213
   126
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
jtulach@213
   127
              <GridBagConstraints gridX="-1" gridY="-1" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="12" insetsLeft="0" insetsBottom="12" insetsRight="11" anchor="10" weightX="1.0" weightY="0.0"/>
jtulach@213
   128
            </Constraint>
jtulach@213
   129
          </Constraints>
jtulach@213
   130
        </Component>
jtulach@213
   131
        <Component class="javax.swing.JTextField" name="guessedWord">
jtulach@213
   132
          <Constraints>
jtulach@213
   133
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
jtulach@213
   134
              <GridBagConstraints gridX="1" gridY="1" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="12" insetsRight="11" anchor="10" weightX="1.0" weightY="0.0"/>
jtulach@213
   135
            </Constraint>
jtulach@213
   136
          </Constraints>
jtulach@213
   137
        </Component>
jtulach@213
   138
        <Component class="javax.swing.JButton" name="nextTrial">
jtulach@213
   139
          <Properties>
jtulach@213
   140
            <Property name="mnemonic" type="int" value="78"/>
jtulach@213
   141
            <Property name="text" type="java.lang.String" value="New Word"/>
jtulach@213
   142
            <Property name="toolTipText" type="java.lang.String" value="Fetch a new word."/>
jtulach@213
   143
          </Properties>
jtulach@213
   144
          <Events>
jtulach@213
   145
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="nextTrialActionPerformed"/>
jtulach@213
   146
          </Events>
jtulach@213
   147
          <Constraints>
jtulach@213
   148
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
jtulach@213
   149
              <GridBagConstraints gridX="3" gridY="3" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="11" insetsRight="11" anchor="10" weightX="0.0" weightY="0.0"/>
jtulach@213
   150
            </Constraint>
jtulach@213
   151
          </Constraints>
jtulach@213
   152
        </Component>
jtulach@213
   153
      </SubComponents>
jtulach@213
   154
    </Container>
jtulach@213
   155
  </SubComponents>
jtulach@213
   156
</Form>