Java Swing Programming Question:

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

Java Swing Programming Interview Question
Java Swing Programming Interview Question

Answer:

setBounds
Method of the Component class is used to set the position and size of a component.


Previous QuestionNext Question
Which containers use a FlowLayout as their default layout?What is the What is the difference between invokeAndWait() and invokeLater()? ?