Field width
Field type: int
Member of: java.awt.Dimension
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 this(bumpArea.width, bumpArea.height);
2 super(org.x < (org.x + extent.width) ? org.x : org.x + extent.width, org.y < (org.y + extent.height) ? org.y : org.y + extent.height,
3 setSize(getPreferredSize().width, getPreferredSize().height);
4 return (getSize().width < getParent().getSize().width);
5 setSize(size.width, size.height);
6 getPreferredSize().width,
7 return new BufferedImage(size.width, size.height,
8 if (component.getSize().width < minWidth)
9 if (component.getSize().width < minWidth)
10 return colors[row * swatchesDim.width + col];
11 assertPositionNotInField(new Point(FieldExtents.SIZE.width, 1));
12 setSize(d.width, d.height);
13 return new Dimension(screen.width, screen.height-25);
14 return new Dimension(4 * fields[0].getMinimumSize().width,
15 return new Dimension( dim.height, dim.width );
16 setLocation(x - getSize().width/2, y - getSize().height/2);
17 setContainerPreferredSize(dimension.width, dimension.height, 0, 0);
18 GuiHelper.drawFocusRectangle(g, 0, 0, size.width-1,size.height-1);
19 g.drawRect(0, 0, d.width - 1, d.height - 1);
20 int farthestX = r.x - (userSize != null ? userSize.width : contentPane.getPreferredSize().width);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.