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
java program with complete 4 oops concepts implemented example
What is meant by nested loop?
What are the different ways of creating thread?
What is difference between static and final?
What is hash table in java?
What is a default method?
Explain restrictions for using anonymous inner classes?
What is variable argument in java?
Why can't we use static class instead of singleton?
why we use merge option in hybernate pls give a ex snippet
Is alive in java?
Why arraylist is used in java?
What is the difference between declaration and definition in java?
What do u mean by variable?
What is the difference between an inner class and a sub-class?