Searched refs:gbc (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/test/java/beans/XMLEncoder/
H A Djava_awt_GridBagConstraints.java39 GridBagConstraints gbc = new GridBagConstraints();
40 gbc.gridx = 1;
41 gbc.gridy = 2;
42 gbc.gridwidth = 3;
43 gbc.gridheight = 4;
44 gbc.weightx = 0.1;
45 gbc.weighty = 0.2;
46 gbc.anchor = GridBagConstraints.NORTH;
47 gbc.fill = GridBagConstraints.VERTICAL;
48 gbc
[all...]
H A Djava_awt_GridBagLayout.java90 GridBagConstraints gbc = new GridBagConstraints();
91 gbc.gridx = x;
92 gbc.gridy = y;
93 layout.addLayoutComponent(new JLabel(id), gbc);
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
H A DColorChooserPanel.java92 GridBagConstraints gbc = new GridBagConstraints();
94 gbc.gridx = 3;
95 gbc.gridwidth = 2;
96 gbc.weighty = 1.0;
97 gbc.anchor = GridBagConstraints.NORTH;
98 gbc.fill = GridBagConstraints.HORIZONTAL;
99 gbc.insets.top = 10;
100 gbc.insets.right = 10;
101 add(this.panel, gbc);
103 gbc
[all...]
H A DColorPanel.java56 GridBagConstraints gbc = new GridBagConstraints();
57 gbc.fill = GridBagConstraints.HORIZONTAL;
59 gbc.gridx = 1;
70 gbc.insets.top = 5;
72 add(button, gbc);
80 add(label, gbc);
86 gbc.gridx = 2;
87 gbc.weightx = 1.0;
88 gbc.insets.top = 0;
89 gbc
[all...]
H A DDefaultSwatchChooserPanel.java144 GridBagConstraints gbc = new GridBagConstraints();
171 gbc.anchor = GridBagConstraints.LAST_LINE_START;
172 gbc.gridwidth = 1;
173 gbc.gridheight = 2;
174 Insets oldInsets = gbc.insets;
175 gbc.insets = new Insets(0, 0, 0, 10);
176 superHolder.add(mainHolder, gbc);
177 gbc.insets = oldInsets;
188 gbc.gridwidth = GridBagConstraints.REMAINDER;
189 gbc
[all...]
/openjdk7/jdk/src/share/demo/jfc/Font2DTest/
H A DFont2DTest.java180 GridBagConstraints gbc = new GridBagConstraints();
181 gbc.fill = GridBagConstraints.HORIZONTAL;
182 gbc.weightx = 1;
183 gbc.insets = new Insets( 2, 0, 2, 2 );
186 addLabeledComponentToGBL( "Font: ", fontMenu, gbl, gbc, this );
187 addLabeledComponentToGBL( "Size: ", sizeField, gbl, gbc, this );
188 gbc.gridwidth = GridBagConstraints.REMAINDER;
190 transformMenu, gbl, gbc, this );
191 gbc.gridwidth = 1;
193 addLabeledComponentToGBL( "Range: ", rm, gbl, gbc, thi
239 addLabeledComponentToGBL( String name, JComponent c, GridBagLayout gbl, GridBagConstraints gbc, Container target ) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXFileDialogPeer.java79 GridBagConstraints gbc; field in class:XFileDialogPeer
159 gbc = new GridBagConstraints();
194 addComponent(label, gbl, gbc, 0, 0, 1,
213 //addComponent(pathField, gbl, gbc, 0, 1, 2,
216 //addComponent(pathChoice, gbl, gbc, 1, 1, GridBagConstraints.RELATIVE,
219 addComponent(pathPanel, gbl, gbc, 0, 1, 2,
228 addComponent(label, gbl, gbc, 0, 2, 1,
231 addComponent(filterField, gbl, gbc, 0, 3, 2,
238 addComponent(label, gbl, gbc, 0, 4, 1,
245 addComponent(label, gbl, gbc,
[all...]
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DVectorParams.java125 private static void tryBadWrite(GatheringByteChannel gbc, argument
130 gbc.write(bufs, offset, len);
/openjdk7/jdk/test/java/nio/channels/
H A DAsyncCloseAndInterrupt.java328 GatheringByteChannel gbc = (GatheringByteChannel)ich;
331 if (gbc instanceof SocketChannel)
332 sc = (SocketChannel)gbc;
337 int d = (int)gbc.write(buffers);
339 if (!gbc.isOpen())
345 show(gbc);
/openjdk7/jdk/src/share/classes/sun/security/tools/policytool/
H A DPolicyTool.java1074 GridBagConstraints gbc = new GridBagConstraints();
1075 gbc.gridx = gridx;
1076 gbc.gridy = gridy;
1077 gbc.gridwidth = gridwidth;
1078 gbc.gridheight = gridheight;
1079 gbc.weightx = weightx;
1080 gbc.weighty = weighty;
1081 gbc.fill = fill;
1082 if (is != null) gbc.insets = is;
1083 gbl.setConstraints(component, gbc);
[all...]

Completed in 125 milliseconds