Lines Matching refs:gbc
116 GridBagConstraints gbc = new GridBagConstraints();
117 gbc.gridx = 0;
118 gbc.gridy = 0;
119 gbc.weightx = 0.0;
120 gbc.weighty = 0.0;
121 gbc.gridwidth = 1;
122 gbc.gridheight = 1;
123 gbc.fill = GridBagConstraints.HORIZONTAL;
124 gbc.anchor = GridBagConstraints.WEST;
128 add(availableLabel, gbc);
129 gbc.gridx = 2;
132 add(selectedLabel, gbc);
133 gbc.gridy ++;
194 gbc.weighty = 1.0;
195 gbc.weightx = 1.0;
196 gbc.gridheight = 3;
199 gbc.gridheight ++;
203 gbc.gridheight ++;
205 int listGridHeight = gbc.gridheight;
206 int listGridY = gbc.gridy;
207 gbc.gridx = 0;
208 gbc.insets.top = 5;
210 gbc.fill = GridBagConstraints.BOTH;
211 add(availableScroll, gbc);
213 gbc.gridx = 1;
214 gbc.gridheight = 1;
215 gbc.weightx = 0.0;
216 gbc.weighty = 0.0;
217 gbc.fill = GridBagConstraints.HORIZONTAL;
228 gbc.insets = new Insets(5, 5, 0, 5);
229 add(add, gbc);
249 gbc.gridy ++;
250 add(addAll, gbc);
264 gbc.gridy ++;
265 gbc.insets.top = 10;
266 add(remove, gbc);
286 gbc.gridy ++;
287 gbc.insets.top = 5;
288 add(removeAll, gbc);
292 gbc.weighty = 1.0;
293 gbc.insets = new Insets(0, 0, 0, 0);
294 gbc.gridy ++;
295 gbc.fill = GridBagConstraints.VERTICAL;
296 add(Box.createVerticalGlue(), gbc);
298 gbc.weightx = 1.0;
299 gbc.insets = new Insets(5, 0, 0, 0);
300 gbc.gridheight = listGridHeight;
301 gbc.gridy = listGridY;
302 gbc.gridx = 2;
303 gbc.fill = GridBagConstraints.BOTH;
305 add(selectedScroll, gbc);