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
What is method reference in java?
Explain differences between checked and unchecked exceptions in java?
Explain how to force the garbage collection in java.
Difference between association, composition and aggregation?
What is the purpose of a volatile variable?
What is the purpose of assert keyword used in jdk1.4.x?
Can a vector contain heterogenous objects?
Can you tell me range of byte?
Which one will take more memory: an int or integer?
Explain the term virtual machine?
What is the use of predicate in java 8?
Is cout buffered?
Describe different states of a thread.
What is garbage collector?
Does java linked list allow duplicates?