What is setbounds in java?



What is setbounds in java?..

Answer / 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

More J2EE Interview Questions

to update a batch in a table in jdbc which method of statement object is used

1 Answers  


What is Document Object Model?

1 Answers  


What is mean by j2ee?

1 Answers  


What are container services?

1 Answers  


What are j2ee concepts?

1 Answers  


What do you understand by j2ee?

1 Answers  


What is java ee sdk?

1 Answers  


What is application assembler?

1 Answers  


What is button in java?

1 Answers  


What is javaserver pages (jsp)?

1 Answers  


What is the difference between load() and get()?

1 Answers  


What is the best java compiler?

1 Answers  


Categories