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 overriding in java?
What are the four corner stones of oop?
What is == and === in javascript?
What is a void in java?
How can you read content from file in java?
What is the buffer limit?
What is the meaning of find and replace?
What are the advantages of autoboxing?
How do you differentiate abstract class from interface?
What is the difference between sop and work instruction?
What are the 3 types of control structures?
What is the reason behind using constructors and destructors?
How many tetrahedral voids are there in bcc?
What class allows you to read objects directly from a stream in java programming?
Can we write method inside a method in java?