Home / Questions / Which method of the Component class is used to set the position and size of a component?
Explanatory Question

Which method of the Component class is used to set the position and size of a component?

👁 3,329 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

setBounds() method is used for this purpose.