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

Short Answer
Views 3265

Answer:

setBounds() method is used for this purpose.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.