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 <Group type="102" attributes="0">
60 <Group type="103" groupAlignment="1" attributes="0">
61 <Component id="jTextFieldInput" pref="313" max="32767" attributes="1"/>
62 <Component id="jTextFieldOutput" alignment="1" pref="313" max="32767" attributes="1"/>
64 <EmptySpace min="-2" max="-2" attributes="0"/>
65 <Group type="103" groupAlignment="1" attributes="0">
66 <Component id="jButtonOutput" pref="146" max="32767" attributes="2"/>
67 <Component id="jButtonInput" pref="146" max="32767" attributes="2"/>
70 <Component id="jButtonOK" alignment="0" min="-2" max="-2" attributes="0"/>
71 <Group type="102" alignment="0" attributes="0">
72 <Group type="103" groupAlignment="0" attributes="0">
73 <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/>
74 <Component id="jSpinnerUnits" alignment="0" min="-2" max="-2" attributes="1"/>
76 <EmptySpace min="-2" pref="27" max="-2" attributes="0"/>
77 <Group type="103" groupAlignment="0" max="-2" attributes="0">
78 <Group type="102" alignment="0" attributes="0">
79 <Component id="jSpinnerHeight" min="-2" max="-2" attributes="1"/>
80 <EmptySpace type="separate" max="-2" attributes="0"/>
81 <Component id="jSpinner1" min="-2" max="-2" attributes="0"/>
83 <Group type="102" alignment="0" attributes="0">
84 <Component id="jLabel2" min="-2" max="-2" attributes="0"/>
85 <EmptySpace type="separate" max="-2" attributes="0"/>
86 <Component id="jLabel4" min="-2" max="-2" attributes="0"/>
89 <EmptySpace min="-2" pref="132" max="-2" attributes="0"/>
91 <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/>
92 <Component id="jCheckBoxDetail" alignment="0" min="-2" max="-2" attributes="0"/>
94 <EmptySpace max="-2" attributes="0"/>
98 <DimensionLayout dim="1">
99 <Group type="103" groupAlignment="0" attributes="0">
100 <Group type="102" attributes="0">
101 <EmptySpace max="-2" attributes="0"/>
102 <Group type="103" groupAlignment="3" attributes="0">
103 <Component id="jButtonInput" alignment="3" min="-2" max="-2" attributes="0"/>
104 <Component id="jTextFieldInput" alignment="3" min="-2" pref="26" max="-2" attributes="0"/>
106 <EmptySpace max="-2" attributes="0"/>
107 <Group type="103" groupAlignment="3" attributes="0">
108 <Component id="jButtonOutput" alignment="3" min="-2" max="-2" attributes="0"/>
109 <Component id="jTextFieldOutput" alignment="3" min="-2" pref="24" max="-2" attributes="0"/>
111 <EmptySpace type="separate" max="-2" attributes="0"/>
112 <Group type="103" groupAlignment="3" attributes="0">
113 <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
114 <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
115 <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
117 <EmptySpace max="-2" attributes="0"/>
118 <Group type="103" groupAlignment="3" attributes="0">
119 <Component id="jSpinnerUnits" alignment="3" min="-2" max="-2" attributes="0"/>
120 <Component id="jSpinnerHeight" alignment="3" min="-2" max="-2" attributes="0"/>
121 <Component id="jSpinner1" alignment="3" min="-2" max="-2" attributes="0"/>
123 <EmptySpace type="unrelated" max="-2" attributes="0"/>
124 <Component id="jLabel3" min="-2" max="-2" attributes="0"/>
125 <EmptySpace max="-2" attributes="0"/>
126 <Component id="jTextFieldTexture" min="-2" max="-2" attributes="0"/>
127 <EmptySpace type="unrelated" max="-2" attributes="0"/>
128 <Component id="jCheckBoxDetail" min="-2" max="-2" attributes="0"/>
129 <EmptySpace pref="18" max="32767" attributes="0"/>
130 <Component id="jButtonOK" min="-2" max="-2" attributes="0"/>
131 <EmptySpace max="-2" attributes="0"/>
137 <Component class="javax.swing.JTextField" name="jTextFieldInput">
139 <Component class="javax.swing.JButton" name="jButtonInput">
141 <Property name="text" type="java.lang.String" value="Select input file"/>
144 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonInputActionPerformed"/>
147 <Component class="javax.swing.JTextField" name="jTextFieldOutput">
149 <Component class="javax.swing.JButton" name="jButtonOutput">
151 <Property name="text" type="java.lang.String" value="Select output file"/>
154 <Component class="javax.swing.JSpinner" name="jSpinnerUnits">
156 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
157 <SpinnerModel initial="256" maximum="2048" minimum="1" numberType="java.lang.Integer" stepSize="1" type="number"/>
161 <Component class="javax.swing.JLabel" name="jLabel1">
163 <Property name="text" type="java.lang.String" value="Units per pixel:"/>
166 <Component class="javax.swing.JSpinner" name="jSpinnerHeight">
168 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
169 <SpinnerModel initial="1024" maximum="16384" minimum="256" numberType="java.lang.Integer" stepSize="1" type="number"/>
173 <Component class="javax.swing.JLabel" name="jLabel2">
175 <Property name="text" type="java.lang.String" value="Height for white:"/>
178 <Component class="javax.swing.JButton" name="jButtonOK">
180 <Property name="text" type="java.lang.String" value="Start conversion!"/>
183 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonOKActionPerformed"/>
186 <Component class="javax.swing.JLabel" name="jLabel3">
188 <Property name="text" type="java.lang.String" value="Cover terrain surface with texture:"/>
191 <Component class="javax.swing.JTextField" name="jTextFieldTexture">
193 <Property name="text" type="java.lang.String" value="terrain/terrain1"/>
196 <Component class="javax.swing.JCheckBox" name="jCheckBoxDetail">
198 <Property name="selected" type="boolean" value="true"/>
199 <Property name="text" type="java.lang.String" value="make detail"/>
202 <Component class="javax.swing.JLabel" name="jLabel4">
204 <Property name="text" type="java.lang.String" value="Texture scale:"/>
207 <Component class="javax.swing.JSpinner" name="jSpinner1">
209 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
210 <SpinnerModel initial="0.5" maximum="16.0" minimum="0.25" numberType="java.lang.Double" stepSize="0.25" type="number"/>