KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > form > layoutdesign > ALT_Positioning01Test


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.modules.form.layoutdesign;
21
22 import java.awt.Dimension JavaDoc;
23 import java.awt.Point JavaDoc;
24 import java.awt.Rectangle JavaDoc;
25 import java.io.File JavaDoc;
26 import java.io.IOException JavaDoc;
27 import java.util.*;
28 import org.openide.filesystems.FileUtil;
29
30 // Tests two special positioning cases.
31
public class ALT_Positioning01Test extends LayoutTestCase {
32
33     public ALT_Positioning01Test(String JavaDoc name) {
34         super(name);
35         try {
36         className = this.getClass().getName();
37         className = className.substring(className.lastIndexOf('.') + 1, className.length());
38             startingFormFile = FileUtil.toFileObject(new File JavaDoc(url.getFile() + goldenFilesPath + className + "-StartingForm.form").getCanonicalFile());
39         } catch (IOException JavaDoc ioe) {
40             fail(ioe.toString());
41         }
42     }
43
44     // Add a new button below jLabel5 (snapped). The label is (in vertical
45
// dimension) 3 pixels from the edge of the group with jTextField4.
46
// The button needs to be added in sequence with this group. (Was problem
47
// when the vertical space considered was extended by 4 pixels in
48
// LayoutFeeder.addToGroup.)
49
public void doChanges0() {
50         ld.externalSizeChangeHappened();
51         // > UPDATE CURRENT STATE
52
contInterior.put("Form", new Rectangle JavaDoc(0, 0, 400, 300));
53         compBounds.put("jLabel5", new Rectangle JavaDoc(10, 134, 34, 14));
54         baselinePosition.put("jLabel5-34-14", new Integer JavaDoc(11));
55         compPrefSize.put("jLabel5", new Dimension JavaDoc(34, 14));
56         compBounds.put("jTextField4", new Rectangle JavaDoc(331, 133, 59, 20));
57         baselinePosition.put("jTextField4-59-20", new Integer JavaDoc(14));
58         compPrefSize.put("jTextField4", new Dimension JavaDoc(59, 20));
59         compBounds.put("jLabel3", new Rectangle JavaDoc(10, 69, 34, 14));
60         baselinePosition.put("jLabel3-34-14", new Integer JavaDoc(11));
61         compPrefSize.put("jLabel3", new Dimension JavaDoc(34, 14));
62         compBounds.put("jLabel4", new Rectangle JavaDoc(10, 98, 34, 14));
63         baselinePosition.put("jLabel4-34-14", new Integer JavaDoc(11));
64         compPrefSize.put("jLabel4", new Dimension JavaDoc(34, 14));
65         compBounds.put("jTextField1", new Rectangle JavaDoc(331, 55, 59, 20));
66         baselinePosition.put("jTextField1-59-20", new Integer JavaDoc(14));
67         compPrefSize.put("jTextField1", new Dimension JavaDoc(59, 20));
68         compBounds.put("jTextField2", new Rectangle JavaDoc(331, 81, 59, 20));
69         baselinePosition.put("jTextField2-59-20", new Integer JavaDoc(14));
70         compPrefSize.put("jTextField2", new Dimension JavaDoc(59, 20));
71         compBounds.put("jTextField3", new Rectangle JavaDoc(331, 107, 59, 20));
72         baselinePosition.put("jTextField3-59-20", new Integer JavaDoc(14));
73         compPrefSize.put("jTextField3", new Dimension JavaDoc(59, 20));
74         compBounds.put("jTextField5", new Rectangle JavaDoc(331, 159, 59, 20));
75         baselinePosition.put("jTextField5-59-20", new Integer JavaDoc(14));
76         compPrefSize.put("jTextField5", new Dimension JavaDoc(59, 20));
77         contInterior.put("Form", new Rectangle JavaDoc(0, 0, 400, 300));
78         compBounds.put("jLabel5", new Rectangle JavaDoc(10, 134, 34, 14));
79         baselinePosition.put("jLabel5-34-14", new Integer JavaDoc(11));
80         compBounds.put("jTextField4", new Rectangle JavaDoc(331, 133, 59, 20));
81         baselinePosition.put("jTextField4-59-20", new Integer JavaDoc(14));
82         compBounds.put("jLabel3", new Rectangle JavaDoc(10, 69, 34, 14));
83         baselinePosition.put("jLabel3-34-14", new Integer JavaDoc(11));
84         compBounds.put("jLabel4", new Rectangle JavaDoc(10, 98, 34, 14));
85         baselinePosition.put("jLabel4-34-14", new Integer JavaDoc(11));
86         compBounds.put("jTextField1", new Rectangle JavaDoc(331, 55, 59, 20));
87         baselinePosition.put("jTextField1-59-20", new Integer JavaDoc(14));
88         compBounds.put("jTextField2", new Rectangle JavaDoc(331, 81, 59, 20));
89         baselinePosition.put("jTextField2-59-20", new Integer JavaDoc(14));
90         compBounds.put("jTextField3", new Rectangle JavaDoc(331, 107, 59, 20));
91         baselinePosition.put("jTextField3-59-20", new Integer JavaDoc(14));
92         compBounds.put("jTextField5", new Rectangle JavaDoc(331, 159, 59, 20));
93         baselinePosition.put("jTextField5-59-20", new Integer JavaDoc(14));
94         ld.updateCurrentState();
95         // < UPDATE CURRENT STATE
96
lc = new LayoutComponent("jButton1", false);
97         // > START ADDING
98
baselinePosition.put("jButton1-75-23", new Integer JavaDoc(15));
99         {
100             LayoutComponent[] comps = new LayoutComponent[] { lc };
101             Rectangle JavaDoc[] bounds = new Rectangle JavaDoc[] {
102                 new Rectangle JavaDoc(0, 0, 75, 23)
103                 };
104             String JavaDoc defaultContId = null;
105             Point JavaDoc hotspot = new Point JavaDoc(33,11);
106             ld.startAdding(comps, bounds, hotspot, defaultContId);
107         }
108         // < START ADDING
109
prefPaddingInParent.put("Form-jButton1-1-0", new Integer JavaDoc(11)); // parentId-compId-dimension-compAlignment
110
prefPaddingInParent.put("Form-jButton1-1-1", new Integer JavaDoc(11)); // parentId-compId-dimension-compAlignment
111
prefPadding.put("jLabel3-jButton1-1-0-0", new Integer JavaDoc(6)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
112
prefPadding.put("jLabel4-jButton1-1-0-0", new Integer JavaDoc(6)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
113
prefPadding.put("jLabel5-jButton1-1-0-0", new Integer JavaDoc(6)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
114
prefPaddingInParent.put("Form-jButton1-0-0", new Integer JavaDoc(10)); // parentId-compId-dimension-compAlignment
115
prefPaddingInParent.put("Form-jButton1-0-1", new Integer JavaDoc(10)); // parentId-compId-dimension-compAlignment
116
prefPadding.put("jTextField5-jButton1-0-0-0", new Integer JavaDoc(6)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
117
prefPadding.put("jButton1-jTextField5-0-0-0", new Integer JavaDoc(6)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
118
prefPadding.put("jLabel5-jButton1-0-0-2", new Integer JavaDoc(10)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
119
prefPadding.put("jTextField4-jButton1-0-0-2", new Integer JavaDoc(10)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
120
// > MOVE
121
{
122             Point JavaDoc p = new Point JavaDoc(64,173);
123             String JavaDoc containerId= "Form";
124             boolean autoPositioning = true;
125             boolean lockDimension = false;
126             Rectangle JavaDoc[] bounds = new Rectangle JavaDoc[] {
127                 new Rectangle JavaDoc(31, 158, 75, 23)
128                 };
129             ld.move(p, containerId, autoPositioning, lockDimension, bounds);
130         }
131         // < MOVE
132
prefPaddingInParent.put("Form-jButton1-1-0", new Integer JavaDoc(11)); // parentId-compId-dimension-compAlignment
133
prefPaddingInParent.put("Form-jButton1-1-1", new Integer JavaDoc(11)); // parentId-compId-dimension-compAlignment
134
prefPadding.put("jLabel3-jButton1-1-0-0", new Integer JavaDoc(6)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
135
prefPadding.put("jLabel4-jButton1-1-0-0", new Integer JavaDoc(6)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
136
prefPadding.put("jLabel5-jButton1-1-0-0", new Integer JavaDoc(6)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
137
prefPaddingInParent.put("Form-jButton1-0-0", new Integer JavaDoc(10)); // parentId-compId-dimension-compAlignment
138
prefPaddingInParent.put("Form-jButton1-0-1", new Integer JavaDoc(10)); // parentId-compId-dimension-compAlignment
139
prefPadding.put("jTextField5-jButton1-0-0-0", new Integer JavaDoc(6)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
140
prefPadding.put("jButton1-jTextField5-0-0-0", new Integer JavaDoc(6)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
141
prefPadding.put("jLabel5-jButton1-0-0-2", new Integer JavaDoc(10)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
142
prefPadding.put("jTextField4-jButton1-0-0-2", new Integer JavaDoc(10)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
143
// > MOVE
144
{
145             Point JavaDoc p = new Point JavaDoc(64,172);
146             String JavaDoc containerId= "Form";
147             boolean autoPositioning = true;
148             boolean lockDimension = false;
149             Rectangle JavaDoc[] bounds = new Rectangle JavaDoc[] {
150                 new Rectangle JavaDoc(31, 154, 75, 23)
151                 };
152             ld.move(p, containerId, autoPositioning, lockDimension, bounds);
153         }
154         // < MOVE
155
// > END MOVING
156
compPrefSize.put("jButton1", new Dimension JavaDoc(75, 23));
157         compPrefSize.put("jButton1", new Dimension JavaDoc(75, 23));
158         prefPaddingInParent.put("Form-jButton1-0-0", new Integer JavaDoc(10)); // parentId-compId-dimension-compAlignment
159
prefPadding.put("jButton1-jTextField5-0-0-0", new Integer JavaDoc(10)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
160
prefPaddingInParent.put("Form-jButton1-1-1", new Integer JavaDoc(10)); // parentId-compId-dimension-compAlignment
161
ld.endMoving(true);
162         // < END MOVING
163
ld.externalSizeChangeHappened();
164         // > UPDATE CURRENT STATE
165
contInterior.put("Form", new Rectangle JavaDoc(0, 0, 400, 300));
166         compBounds.put("jLabel5", new Rectangle JavaDoc(10, 134, 34, 14));
167         baselinePosition.put("jLabel5-34-14", new Integer JavaDoc(11));
168         compPrefSize.put("jLabel5", new Dimension JavaDoc(34, 14));
169         compBounds.put("jTextField4", new Rectangle JavaDoc(331, 133, 59, 20));
170         baselinePosition.put("jTextField4-59-20", new Integer JavaDoc(14));
171         compPrefSize.put("jTextField4", new Dimension JavaDoc(59, 20));
172         compBounds.put("jLabel3", new Rectangle JavaDoc(10, 69, 34, 14));
173         baselinePosition.put("jLabel3-34-14", new Integer JavaDoc(11));
174         compPrefSize.put("jLabel3", new Dimension JavaDoc(34, 14));
175         compBounds.put("jLabel4", new Rectangle JavaDoc(10, 98, 34, 14));
176         baselinePosition.put("jLabel4-34-14", new Integer JavaDoc(11));
177         compPrefSize.put("jLabel4", new Dimension JavaDoc(34, 14));
178         compBounds.put("jTextField1", new Rectangle JavaDoc(331, 55, 59, 20));
179         baselinePosition.put("jTextField1-59-20", new Integer JavaDoc(14));
180         compPrefSize.put("jTextField1", new Dimension JavaDoc(59, 20));
181         compBounds.put("jTextField2", new Rectangle JavaDoc(331, 81, 59, 20));
182         baselinePosition.put("jTextField2-59-20", new Integer JavaDoc(14));
183         compPrefSize.put("jTextField2", new Dimension JavaDoc(59, 20));
184         compBounds.put("jTextField3", new Rectangle JavaDoc(331, 107, 59, 20));
185         baselinePosition.put("jTextField3-59-20", new Integer JavaDoc(14));
186         compPrefSize.put("jTextField3", new Dimension JavaDoc(59, 20));
187         compBounds.put("jTextField5", new Rectangle JavaDoc(331, 159, 59, 20));
188         baselinePosition.put("jTextField5-59-20", new Integer JavaDoc(14));
189         compPrefSize.put("jTextField5", new Dimension JavaDoc(59, 20));
190         compBounds.put("jButton1", new Rectangle JavaDoc(31, 159, 75, 23));
191         baselinePosition.put("jButton1-75-23", new Integer JavaDoc(15));
192         compPrefSize.put("jButton1", new Dimension JavaDoc(75, 23));
193         prefPaddingInParent.put("Form-jTextField5-1-1", new Integer JavaDoc(11)); // parentId-compId-dimension-compAlignment
194
prefPaddingInParent.put("Form-jButton1-1-1", new Integer JavaDoc(11)); // parentId-compId-dimension-compAlignment
195
contInterior.put("Form", new Rectangle JavaDoc(0, 0, 400, 300));
196         compBounds.put("jLabel5", new Rectangle JavaDoc(10, 134, 34, 14));
197         baselinePosition.put("jLabel5-34-14", new Integer JavaDoc(11));
198         compBounds.put("jTextField4", new Rectangle JavaDoc(331, 133, 59, 20));
199         baselinePosition.put("jTextField4-59-20", new Integer JavaDoc(14));
200         compBounds.put("jLabel3", new Rectangle JavaDoc(10, 69, 34, 14));
201         baselinePosition.put("jLabel3-34-14", new Integer JavaDoc(11));
202         compBounds.put("jLabel4", new Rectangle JavaDoc(10, 98, 34, 14));
203         baselinePosition.put("jLabel4-34-14", new Integer JavaDoc(11));
204         compBounds.put("jTextField1", new Rectangle JavaDoc(331, 55, 59, 20));
205         baselinePosition.put("jTextField1-59-20", new Integer JavaDoc(14));
206         compBounds.put("jTextField2", new Rectangle JavaDoc(331, 81, 59, 20));
207         baselinePosition.put("jTextField2-59-20", new Integer JavaDoc(14));
208         compBounds.put("jTextField3", new Rectangle JavaDoc(331, 107, 59, 20));
209         baselinePosition.put("jTextField3-59-20", new Integer JavaDoc(14));
210         compBounds.put("jTextField5", new Rectangle JavaDoc(331, 159, 59, 20));
211         baselinePosition.put("jTextField5-59-20", new Integer JavaDoc(14));
212         compBounds.put("jButton1", new Rectangle JavaDoc(31, 159, 75, 23));
213         baselinePosition.put("jButton1-75-23", new Integer JavaDoc(15));
214         ld.updateCurrentState();
215         // < UPDATE CURRENT STATE
216
}
217
218     // Add a new button left of jTextField1 so that it does not overlap jLabel3
219
// in vertical dimension; no snapping. A new sequence with explicit trailing
220
// alignment should be created for horizontal placement (with fixed trailing
221
// gap following the button).
222
public void doChanges1() {
223         lc = new LayoutComponent("jButton2", false);
224         // > START ADDING
225
baselinePosition.put("jButton2-75-23", new Integer JavaDoc(15));
226         {
227             LayoutComponent[] comps = new LayoutComponent[] { lc };
228             Rectangle JavaDoc[] bounds = new Rectangle JavaDoc[] {
229                 new Rectangle JavaDoc(0, 0, 75, 23)
230                 };
231             String JavaDoc defaultContId = null;
232             Point JavaDoc hotspot = new Point JavaDoc(33,11);
233             ld.startAdding(comps, bounds, hotspot, defaultContId);
234         }
235         // < START ADDING
236
prefPaddingInParent.put("Form-jButton2-1-0", new Integer JavaDoc(11)); // parentId-compId-dimension-compAlignment
237
prefPaddingInParent.put("Form-jButton2-1-1", new Integer JavaDoc(11)); // parentId-compId-dimension-compAlignment
238
prefPaddingInParent.put("Form-jButton2-0-0", new Integer JavaDoc(10)); // parentId-compId-dimension-compAlignment
239
prefPaddingInParent.put("Form-jButton2-0-1", new Integer JavaDoc(10)); // parentId-compId-dimension-compAlignment
240
prefPadding.put("jButton2-jTextField1-0-0-0", new Integer JavaDoc(6)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
241
// > MOVE
242
{
243             Point JavaDoc p = new Point JavaDoc(263,52);
244             String JavaDoc containerId= "Form";
245             boolean autoPositioning = true;
246             boolean lockDimension = false;
247             Rectangle JavaDoc[] bounds = new Rectangle JavaDoc[] {
248                 new Rectangle JavaDoc(230, 41, 75, 23)
249                 };
250             ld.move(p, containerId, autoPositioning, lockDimension, bounds);
251         }
252         // < MOVE
253
prefPaddingInParent.put("Form-jButton2-1-0", new Integer JavaDoc(11)); // parentId-compId-dimension-compAlignment
254
prefPaddingInParent.put("Form-jButton2-1-1", new Integer JavaDoc(11)); // parentId-compId-dimension-compAlignment
255
prefPaddingInParent.put("Form-jButton2-0-0", new Integer JavaDoc(10)); // parentId-compId-dimension-compAlignment
256
prefPaddingInParent.put("Form-jButton2-0-1", new Integer JavaDoc(10)); // parentId-compId-dimension-compAlignment
257
prefPadding.put("jButton2-jTextField1-0-0-0", new Integer JavaDoc(6)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
258
// > MOVE
259
{
260             Point JavaDoc p = new Point JavaDoc(263,53);
261             String JavaDoc containerId= "Form";
262             boolean autoPositioning = true;
263             boolean lockDimension = false;
264             Rectangle JavaDoc[] bounds = new Rectangle JavaDoc[] {
265                 new Rectangle JavaDoc(230, 42, 75, 23)
266                 };
267             ld.move(p, containerId, autoPositioning, lockDimension, bounds);
268         }
269         // < MOVE
270
// > END MOVING
271
compPrefSize.put("jButton2", new Dimension JavaDoc(75, 23));
272         compPrefSize.put("jButton2", new Dimension JavaDoc(75, 23));
273         prefPaddingInParent.put("Form-jButton2-1-0", new Integer JavaDoc(10)); // parentId-compId-dimension-compAlignment
274
prefPadding.put("jButton2-jLabel3-1-0-0", new Integer JavaDoc(10)); // comp1Id-comp2Id-dimension-comp2Alignment-paddingType
275
ld.endMoving(true);
276         // < END MOVING
277
ld.externalSizeChangeHappened();
278         // > UPDATE CURRENT STATE
279
contInterior.put("Form", new Rectangle JavaDoc(0, 0, 400, 300));
280         compBounds.put("jLabel5", new Rectangle JavaDoc(10, 134, 34, 14));
281         baselinePosition.put("jLabel5-34-14", new Integer JavaDoc(11));
282         compPrefSize.put("jLabel5", new Dimension JavaDoc(34, 14));
283         compBounds.put("jTextField4", new Rectangle JavaDoc(331, 133, 59, 20));
284         baselinePosition.put("jTextField4-59-20", new Integer JavaDoc(14));
285         compPrefSize.put("jTextField4", new Dimension JavaDoc(59, 20));
286         compBounds.put("jLabel3", new Rectangle JavaDoc(10, 69, 34, 14));
287         baselinePosition.put("jLabel3-34-14", new Integer JavaDoc(11));
288         compPrefSize.put("jLabel3", new Dimension JavaDoc(34, 14));
289         compBounds.put("jLabel4", new Rectangle JavaDoc(10, 98, 34, 14));
290         baselinePosition.put("jLabel4-34-14", new Integer JavaDoc(11));
291         compPrefSize.put("jLabel4", new Dimension JavaDoc(34, 14));
292         compBounds.put("jTextField1", new Rectangle JavaDoc(331, 55, 59, 20));
293         baselinePosition.put("jTextField1-59-20", new Integer JavaDoc(14));
294         compPrefSize.put("jTextField1", new Dimension JavaDoc(59, 20));
295         compBounds.put("jTextField2", new Rectangle JavaDoc(331, 81, 59, 20));
296         baselinePosition.put("jTextField2-59-20", new Integer JavaDoc(14));
297         compPrefSize.put("jTextField2", new Dimension JavaDoc(59, 20));
298         compBounds.put("jTextField3", new Rectangle JavaDoc(331, 107, 59, 20));
299         baselinePosition.put("jTextField3-59-20", new Integer JavaDoc(14));
300         compPrefSize.put("jTextField3", new Dimension JavaDoc(59, 20));
301         compBounds.put("jTextField5", new Rectangle JavaDoc(331, 159, 59, 20));
302         baselinePosition.put("jTextField5-59-20", new Integer JavaDoc(14));
303         compPrefSize.put("jTextField5", new Dimension JavaDoc(59, 20));
304         compBounds.put("jButton1", new Rectangle JavaDoc(31, 159, 75, 23));
305         baselinePosition.put("jButton1-75-23", new Integer JavaDoc(15));
306         compPrefSize.put("jButton1", new Dimension JavaDoc(75, 23));
307         compBounds.put("jButton2", new Rectangle JavaDoc(230, 42, 75, 23));
308         baselinePosition.put("jButton2-75-23", new Integer JavaDoc(15));
309         compPrefSize.put("jButton2", new Dimension JavaDoc(75, 23));
310         contInterior.put("Form", new Rectangle JavaDoc(0, 0, 400, 300));
311         compBounds.put("jLabel5", new Rectangle JavaDoc(10, 134, 34, 14));
312         baselinePosition.put("jLabel5-34-14", new Integer JavaDoc(11));
313         compBounds.put("jTextField4", new Rectangle JavaDoc(331, 133, 59, 20));
314         baselinePosition.put("jTextField4-59-20", new Integer JavaDoc(14));
315         compBounds.put("jLabel3", new Rectangle JavaDoc(10, 69, 34, 14));
316         baselinePosition.put("jLabel3-34-14", new Integer JavaDoc(11));
317         compBounds.put("jLabel4", new Rectangle JavaDoc(10, 98, 34, 14));
318         baselinePosition.put("jLabel4-34-14", new Integer JavaDoc(11));
319         compBounds.put("jTextField1", new Rectangle JavaDoc(331, 55, 59, 20));
320         baselinePosition.put("jTextField1-59-20", new Integer JavaDoc(14));
321         compBounds.put("jTextField2", new Rectangle JavaDoc(331, 81, 59, 20));
322         baselinePosition.put("jTextField2-59-20", new Integer JavaDoc(14));
323         compBounds.put("jTextField3", new Rectangle JavaDoc(331, 107, 59, 20));
324         baselinePosition.put("jTextField3-59-20", new Integer JavaDoc(14));
325         compBounds.put("jTextField5", new Rectangle JavaDoc(331, 159, 59, 20));
326         baselinePosition.put("jTextField5-59-20", new Integer JavaDoc(14));
327         compBounds.put("jButton1", new Rectangle JavaDoc(31, 159, 75, 23));
328         baselinePosition.put("jButton1-75-23", new Integer JavaDoc(15));
329         compBounds.put("jButton2", new Rectangle JavaDoc(230, 42, 75, 23));
330         baselinePosition.put("jButton2-75-23", new Integer JavaDoc(15));
331         ld.updateCurrentState();
332         // < UPDATE CURRENT STATE
333
}
334     
335 }
336
Popular Tags