adspace
Answer Posted / Neelendra Kumar Verma
setBounds() is a method provided by the java.awt.Component class and its subclasses, such as JPanel or JLabel. It is used to specify the position and size of a component on a container. The method takes four parameters: x (horizontal position), y (vertical position), width, and height.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers