|
24 | 24 | <Layout> |
25 | 25 | <DimensionLayout dim="0"> |
26 | 26 | <Group type="103" groupAlignment="0" attributes="0"> |
27 | | - <Group type="102" alignment="1" attributes="0"> |
28 | | - <Group type="103" groupAlignment="1" attributes="0"> |
29 | | - <Component id="jSeparator1" alignment="1" pref="420" max="32767" attributes="0"/> |
30 | | - <Group type="102" alignment="1" attributes="0"> |
31 | | - <Component id="jLabel1" pref="70" max="32767" attributes="0"/> |
| 27 | + <Group type="102" attributes="0"> |
| 28 | + <Group type="103" groupAlignment="0" attributes="0"> |
| 29 | + <Component id="jSeparator1" alignment="1" max="32767" attributes="0"/> |
| 30 | + <Group type="102" attributes="0"> |
| 31 | + <Component id="jLabel1" min="-2" pref="91" max="-2" attributes="0"/> |
32 | 32 | <EmptySpace max="-2" attributes="0"/> |
33 | | - <Component id="jPanel2" min="-2" max="-2" attributes="0"/> |
34 | | - <EmptySpace type="unrelated" max="-2" attributes="0"/> |
35 | | - <Component id="jButton1" min="-2" pref="29" max="-2" attributes="0"/> |
| 33 | + <Component id="jPanel2" min="-2" pref="390" max="-2" attributes="0"/> |
| 34 | + <EmptySpace min="0" pref="0" max="32767" attributes="0"/> |
36 | 35 | </Group> |
37 | 36 | </Group> |
38 | 37 | <EmptySpace max="-2" attributes="0"/> |
|
42 | 41 | <DimensionLayout dim="1"> |
43 | 42 | <Group type="103" groupAlignment="0" attributes="0"> |
44 | 43 | <Group type="102" alignment="0" attributes="0"> |
| 44 | + <EmptySpace min="-2" pref="4" max="-2" attributes="0"/> |
45 | 45 | <Group type="103" groupAlignment="0" max="-2" attributes="0"> |
46 | | - <Component id="jButton1" max="32767" attributes="1"/> |
47 | | - <Component id="jLabel1" alignment="0" max="32767" attributes="1"/> |
48 | | - <Component id="jPanel2" alignment="0" max="32767" attributes="1"/> |
| 46 | + <Component id="jLabel1" max="32767" attributes="1"/> |
| 47 | + <Component id="jPanel2" max="32767" attributes="1"/> |
49 | 48 | </Group> |
50 | | - <EmptySpace max="-2" attributes="0"/> |
51 | | - <Component id="jSeparator1" pref="9" max="32767" attributes="0"/> |
| 49 | + <EmptySpace min="-2" max="-2" attributes="0"/> |
| 50 | + <Component id="jSeparator1" pref="1" max="32767" attributes="0"/> |
52 | 51 | </Group> |
53 | 52 | </Group> |
54 | 53 | </DimensionLayout> |
|
65 | 64 | </Properties> |
66 | 65 | </Component> |
67 | 66 | <Container class="javax.swing.JPanel" name="jPanel2"> |
| 67 | + <Properties> |
| 68 | + <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |
| 69 | + <Dimension value="[377, 40]"/> |
| 70 | + </Property> |
| 71 | + </Properties> |
68 | 72 |
|
69 | 73 | <Layout> |
70 | 74 | <DimensionLayout dim="0"> |
71 | 75 | <Group type="103" groupAlignment="0" attributes="0"> |
72 | 76 | <Group type="102" alignment="1" attributes="0"> |
73 | | - <EmptySpace max="-2" attributes="0"/> |
74 | | - <Component id="colorPreview" pref="18" max="32767" attributes="0"/> |
75 | | - <EmptySpace max="-2" attributes="0"/> |
| 77 | + <Component id="colorPreview" min="-2" pref="41" max="-2" attributes="0"/> |
| 78 | + <EmptySpace pref="51" max="32767" attributes="0"/> |
76 | 79 | <Component id="jLabel2" min="-2" max="-2" attributes="0"/> |
77 | 80 | <EmptySpace max="-2" attributes="0"/> |
78 | 81 | <Component id="rLabel" min="-2" pref="46" max="-2" attributes="0"/> |
|
93 | 96 | </DimensionLayout> |
94 | 97 | <DimensionLayout dim="1"> |
95 | 98 | <Group type="103" groupAlignment="0" attributes="0"> |
96 | | - <Component id="gLabel" alignment="0" pref="20" max="32767" attributes="1"/> |
97 | | - <Component id="bLabel" alignment="0" pref="20" max="32767" attributes="1"/> |
| 99 | + <Component id="jLabel2" alignment="0" max="32767" attributes="0"/> |
98 | 100 | <Group type="103" groupAlignment="3" attributes="0"> |
99 | | - <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> |
| 101 | + <Component id="jLabel3" alignment="3" min="-2" pref="40" max="-2" attributes="0"/> |
100 | 102 | <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/> |
101 | 103 | <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/> |
102 | | - <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> |
103 | | - <Component id="rLabel" alignment="3" pref="20" max="32767" attributes="1"/> |
| 104 | + <Component id="rLabel" alignment="3" max="32767" attributes="1"/> |
| 105 | + <Component id="gLabel" alignment="3" min="-2" max="-2" attributes="1"/> |
| 106 | + <Component id="bLabel" alignment="3" min="-2" max="-2" attributes="1"/> |
| 107 | + <Component id="aLabel" alignment="3" min="-2" max="-2" attributes="1"/> |
104 | 108 | </Group> |
105 | | - <Component id="colorPreview" alignment="0" pref="20" max="32767" attributes="1"/> |
106 | | - <Component id="aLabel" alignment="0" pref="20" max="32767" attributes="1"/> |
| 109 | + <Component id="colorPreview" alignment="0" max="32767" attributes="1"/> |
107 | 110 | </Group> |
108 | 111 | </DimensionLayout> |
109 | 112 | </Layout> |
|
199 | 202 | <ResourceString bundle="com/jme3/gde/materials/multiview/widgets/Bundle.properties" key="ColorPanel.aLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> |
200 | 203 | </Property> |
201 | 204 | <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> |
202 | | - <Color id="Curseur de texte"/> |
| 205 | + <Color id="Default Cursor"/> |
203 | 206 | </Property> |
204 | 207 | <Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |
205 | 208 | <Dimension value="[110, 2147483647]"/> |
206 | 209 | </Property> |
207 | | - <Property name="nextFocusableComponent" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor"> |
208 | | - <ComponentRef name="jButton1"/> |
209 | | - </Property> |
210 | 210 | <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |
211 | 211 | <Dimension value="[110, 28]"/> |
212 | 212 | </Property> |
|
241 | 241 | </Border> |
242 | 242 | </Property> |
243 | 243 | <Property name="opaque" type="boolean" value="true"/> |
| 244 | + <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |
| 245 | + <Dimension value="[64, 2]"/> |
| 246 | + </Property> |
244 | 247 | </Properties> |
| 248 | + <Events> |
| 249 | + <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="colorPreviewMouseClicked"/> |
| 250 | + </Events> |
245 | 251 | </Component> |
246 | 252 | </SubComponents> |
247 | 253 | </Container> |
248 | | - <Component class="javax.swing.JButton" name="jButton1"> |
249 | | - <Properties> |
250 | | - <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> |
251 | | - <Image iconType="3" name="/com/jme3/gde/materials/multiview/widgets/icons/color_wheel.png"/> |
252 | | - </Property> |
253 | | - <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> |
254 | | - <ResourceString bundle="com/jme3/gde/materials/multiview/widgets/Bundle.properties" key="ColorPanel.jButton1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> |
255 | | - </Property> |
256 | | - <Property name="horizontalTextPosition" type="int" value="0"/> |
257 | | - <Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |
258 | | - <Dimension value="[43, 15]"/> |
259 | | - </Property> |
260 | | - <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |
261 | | - <Dimension value="[43, 15]"/> |
262 | | - </Property> |
263 | | - <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |
264 | | - <Dimension value="[43, 15]"/> |
265 | | - </Property> |
266 | | - <Property name="verticalTextPosition" type="int" value="3"/> |
267 | | - </Properties> |
268 | | - <Events> |
269 | | - <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/> |
270 | | - </Events> |
271 | | - </Component> |
272 | 254 | <Component class="javax.swing.JSeparator" name="jSeparator1"> |
273 | 255 | </Component> |
274 | 256 | </SubComponents> |
|
0 commit comments