adspace


What is setbounds in java?

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


Please Help Members By Posting Answers For Below Questions

i want test pattern of zylog company and some examples also

2869