The setSize method in Java Dimension class is used to change the size of an object or component to the specified width and height. This method updates the width and height of the Dimension object according to the specified values.
Java Dimension.setSize - 23 examples found. These are the top rated real world Java examples of Dimension.setSize extracted from open source projects. You can rate examples to help us improve the quality of examples.