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 factor r?
Difference between string s= new string (); and string s = "abv";?
What does mean in regex?
What is meant by memory leak?
How do I remove a character from a string in java?
What are the legal operands of the instanceof operator?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
What is the difference between I ++ and ++ I in java?
Can we have this () and super () together?
What is broken and continue statement?
What is a memory leak in java?
What do bitwise operators do?
What does the “static” keyword mean?
What will be the output of round(3.7) and ceil(3.7)?
What is overloading and overriding in java?