public class DimensionUIResource extends Dimension implements UIResource
UIResource, which
indicates that it has been installed by a pluggable
LookAndFeel. Such dimensions are replaced when the LookAndFeel
changes.Dimension,
Serialized Form| Constructor and Description |
|---|
DimensionUIResource(int width,
int height)
Constructs a new DimensionUIResource, given its width and height.
|
public DimensionUIResource(int width, int height)
width - the width in pixels.height - the height in pixels.