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