To set the position and size of a component, which methods
Answers were Sorted based on User's Feedback
Answer / ranjith
Set the size and location relative to the parent's upper
left corner, in pixels, of the component. The four int
arguments specify x, y, width, and height, in that order.
Use these methods to position and size a component when you
are not using a layout manager.
|Is This Answer Correct ?||8 Yes||1 No|
Answer / ravikiran
|Is This Answer Correct ?||8 Yes||3 No|
Answer / pkr_reddy
to set the position is used setLayout accepting the argument
as layout object.
in order to set the component sze there is no method that is
default set the size by layout manazer .
|Is This Answer Correct ?||5 Yes||4 No|
Difference between a class and an object?
How do you declare a variable?
Why do we use string?
What is application system?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
Is class is a data type?
What is the latest version of java?
What is meant by JVM ?
How do you sort arraylist in descending order?
What about interrupt() method of thread class ?
What are Transient and Volatile Modifiers?
What is thread start?