Advertisement
Guest User

NetBeans GUI, other layouts

a guest
Sep 20th, 2010
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.97 KB | None | 0 0
  1. <?xml version="1.1" encoding="UTF-8" ?>
  2. <!--
  3. http://pastebin.com/nWHciPh0
  4. -->
  5. <Form version="1.3" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
  6.   <Properties>
  7.     <Property name="defaultCloseOperation" type="int" value="3"/>
  8.     <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
  9.       <Color blue="ff" green="ff" red="0" type="rgb"/>
  10.     </Property>
  11.   </Properties>
  12.   <SyntheticProperties>
  13.     <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
  14.   </SyntheticProperties>
  15.   <AuxValues>
  16.     <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
  17.     <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
  18.     <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
  19.     <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
  20.     <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
  21.     <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
  22.     <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
  23.     <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
  24.     <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
  25.     <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,1,104,0,0,1,-96"/>
  26.   </AuxValues>
  27.  
  28.   <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout">
  29.     <Property name="axis" type="int" value="3"/>
  30.   </Layout>
  31.   <SubComponents>
  32.     <Container class="javax.swing.JPanel" name="colorPanel">
  33.       <Properties>
  34.         <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
  35.           <Color blue="ff" green="0" red="ff" type="rgb"/>
  36.         </Property>
  37.         <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
  38.           <Dimension value="[320, 240]"/>
  39.         </Property>
  40.       </Properties>
  41.  
  42.       <Layout class="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout"/>
  43.     </Container>
  44.     <Container class="javax.swing.JPanel" name="buttonPanel">
  45.       <Properties>
  46.         <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
  47.           <Color blue="ff" green="ff" red="0" type="rgb"/>
  48.         </Property>
  49.         <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
  50.           <Dimension value="[320, 120]"/>
  51.         </Property>
  52.       </Properties>
  53.  
  54.       <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
  55.       <SubComponents>
  56.         <Component class="javax.swing.JButton" name="changeButton">
  57.           <Properties>
  58.             <Property name="text" type="java.lang.String" value="Change Colors"/>
  59.           </Properties>
  60.           <Events>
  61.             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="changeButtonActionPerformed"/>
  62.           </Events>
  63.           <Constraints>
  64.             <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  65.               <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
  66.             </Constraint>
  67.           </Constraints>
  68.         </Component>
  69.       </SubComponents>
  70.     </Container>
  71.   </SubComponents>
  72. </Form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement