To set the position and size of a component, which methods
are used?
Answer Posted / pkr_reddy
to set the position is used setLayout accepting the argument
as layout object.
ex:setLayout(layout lobject);
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 |
Post New Answer View All Answers
Can you call a method on a null object?
What are the two ways to create a thread?
What is the use of volatile in java?
How do you change an int to a string?
what is the use of bean managed and container managed with example?
How does linkedhashmap work in java?
What is join () in java?
how many types of Inheritance?
What is data structure in java?
What are internal and external variables?
What is private static in java?
Which is faster string or stringbuilder?
What is difference between == and === in js?
How to use arraylist in java netbeans?
How does list work in java?