1 <?xml version="1.0" encoding="UTF-8" ?>
3 <Form version="1.5" maxVersion="1.6" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
5 <Property name="defaultCloseOperation" type="int" value="3"/>
6 <Property name="title" type="java.lang.String" value="ImgToMap"/>
9 <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
10 </SyntheticProperties>
12 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
13 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
14 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
15 <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
16 <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
17 <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
18 <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
19 <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
23 <DimensionLayout dim="0">
24 <Group type="103" groupAlignment="0" attributes="0">
25 <Group type="102" alignment="1" attributes="0">
26 <EmptySpace max="-2" attributes="0"/>
27 <Component id="jPanel1" max="32767" attributes="0"/>
28 <EmptySpace max="-2" attributes="0"/>
32 <DimensionLayout dim="1">
33 <Group type="103" groupAlignment="0" attributes="0">
34 <Group type="102" alignment="0" attributes="0">
35 <EmptySpace max="-2" attributes="0"/>
36 <Component id="jPanel1" max="32767" attributes="0"/>
37 <EmptySpace max="-2" attributes="0"/>
43 <Container class="javax.swing.JPanel" name="jPanel1">
45 <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
46 <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
47 <TitledBorder title="Convert image to map"/>
53 <DimensionLayout dim="0">
54 <Group type="103" groupAlignment="0" attributes="0">
55 <Group type="102" attributes="0">
56 <EmptySpace max="-2" attributes="0"/>
57 <Group type="103" groupAlignment="0" attributes="0">
58 <Component id="jTextFieldTexture" alignment="0" pref="465" max="32767" attributes="0"/>
59 <Component id="jButtonOK" alignment="0" min="-2" max="-2" attributes="0"/>
60 <Group type="102" alignment="0" attributes="0">
61 <Group type="103" groupAlignment="0" attributes="0">
62 <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/>
63 <Component id="jSpinnerUnits" alignment="0" min="-2" max="-2" attributes="1"/>
65 <EmptySpace min="-2" pref="27" max="-2" attributes="0"/>
66 <Group type="103" groupAlignment="0" attributes="0">
67 <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/>
68 <Component id="jSpinnerHeight" alignment="0" min="-2" max="-2" attributes="1"/>
70 <EmptySpace min="-2" pref="24" max="-2" attributes="0"/>
71 <Group type="103" groupAlignment="0" max="-2" attributes="0">
72 <Component id="jSpinnerTextureScale" max="32767" attributes="1"/>
73 <Component id="jLabel4" alignment="0" max="32767" attributes="1"/>
76 <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/>
77 <Component id="jCheckBoxDetail" alignment="0" min="-2" max="-2" attributes="0"/>
78 <Group type="102" alignment="0" attributes="0">
79 <Group type="103" groupAlignment="1" max="-2" attributes="0">
80 <Component id="jTextFieldOutput" alignment="0" max="32767" attributes="1"/>
81 <Component id="jTextFieldInput" alignment="0" pref="313" max="32767" attributes="1"/>
83 <EmptySpace max="-2" attributes="0"/>
84 <Group type="103" groupAlignment="0" attributes="0">
85 <Component id="jButtonInput" alignment="0" pref="146" max="32767" attributes="2"/>
86 <Component id="jButtonOutput" pref="146" max="32767" attributes="2"/>
90 <EmptySpace max="-2" attributes="0"/>
94 <DimensionLayout dim="1">
95 <Group type="103" groupAlignment="0" attributes="0">
96 <Group type="102" attributes="0">
97 <EmptySpace max="-2" attributes="0"/>
98 <Group type="103" groupAlignment="3" attributes="0">
99 <Component id="jButtonInput" alignment="3" min="-2" max="-2" attributes="0"/>
100 <Component id="jTextFieldInput" alignment="3" min="-2" pref="27" max="-2" attributes="0"/>
102 <EmptySpace max="-2" attributes="0"/>
103 <Group type="103" groupAlignment="3" attributes="0">
104 <Component id="jButtonOutput" alignment="3" min="-2" max="-2" attributes="0"/>
105 <Component id="jTextFieldOutput" alignment="3" min="-2" pref="26" max="-2" attributes="0"/>
107 <EmptySpace min="-2" pref="16" max="-2" attributes="0"/>
108 <Group type="103" groupAlignment="3" attributes="0">
109 <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
110 <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
111 <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
113 <EmptySpace max="-2" attributes="0"/>
114 <Group type="103" groupAlignment="3" attributes="0">
115 <Component id="jSpinnerUnits" alignment="3" min="-2" max="-2" attributes="0"/>
116 <Component id="jSpinnerHeight" alignment="3" min="-2" max="-2" attributes="0"/>
117 <Component id="jSpinnerTextureScale" alignment="3" min="-2" max="-2" attributes="0"/>
119 <EmptySpace type="unrelated" max="-2" attributes="0"/>
120 <Component id="jLabel3" min="-2" max="-2" attributes="0"/>
121 <EmptySpace max="-2" attributes="0"/>
122 <Component id="jTextFieldTexture" min="-2" max="-2" attributes="0"/>
123 <EmptySpace max="-2" attributes="0"/>
124 <Component id="jCheckBoxDetail" min="-2" max="-2" attributes="0"/>
125 <EmptySpace pref="24" max="32767" attributes="0"/>
126 <Component id="jButtonOK" min="-2" max="-2" attributes="0"/>
127 <EmptySpace max="-2" attributes="0"/>
133 <Component class="javax.swing.JTextField" name="jTextFieldInput">
135 <Component class="javax.swing.JButton" name="jButtonInput">
137 <Property name="text" type="java.lang.String" value="Select input file"/>
140 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonInputActionPerformed"/>
143 <Component class="javax.swing.JTextField" name="jTextFieldOutput">
145 <Component class="javax.swing.JButton" name="jButtonOutput">
147 <Property name="text" type="java.lang.String" value="Select output file"/>
150 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonOutputActionPerformed"/>
153 <Component class="javax.swing.JSpinner" name="jSpinnerUnits">
155 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
156 <SpinnerModel initial="256" maximum="2048" minimum="1" numberType="java.lang.Integer" stepSize="1" type="number"/>
160 <Component class="javax.swing.JLabel" name="jLabel1">
162 <Property name="text" type="java.lang.String" value="Units per pixel:"/>
165 <Component class="javax.swing.JSpinner" name="jSpinnerHeight">
167 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
168 <SpinnerModel initial="1024" maximum="16384" minimum="256" numberType="java.lang.Integer" stepSize="1" type="number"/>
172 <Component class="javax.swing.JLabel" name="jLabel2">
174 <Property name="text" type="java.lang.String" value="Height for white:"/>
177 <Component class="javax.swing.JButton" name="jButtonOK">
179 <Property name="text" type="java.lang.String" value="Start conversion!"/>
182 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonOKActionPerformed"/>
185 <Component class="javax.swing.JLabel" name="jLabel3">
187 <Property name="text" type="java.lang.String" value="Cover terrain surface with texture:"/>
190 <Component class="javax.swing.JTextField" name="jTextFieldTexture">
192 <Property name="text" type="java.lang.String" value="terrain/terrain1"/>
195 <Component class="javax.swing.JCheckBox" name="jCheckBoxDetail">
197 <Property name="selected" type="boolean" value="true"/>
198 <Property name="text" type="java.lang.String" value="make detail"/>
201 <Component class="javax.swing.JLabel" name="jLabel4">
203 <Property name="text" type="java.lang.String" value="Texture scale:"/>
206 <Component class="javax.swing.JSpinner" name="jSpinnerTextureScale">
208 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
209 <SpinnerModel initial="0.5" maximum="16.0" minimum="0.25" numberType="java.lang.Double" stepSize="0.25" type="number"/>