Answer Posted / dhanashree
The minimum size of the component, enough to display its label is known as preferred size of the component. For example, the button size should display its label with platform-specific decoration like dotted lines around the label etc. The FlowLayout manager gives the preferred size to a component.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is the difference between jdk, jre, and jvm?
What are the advantages of defining packages in java?
Does java list allow null?
What is the purpose of static keyword in java?
Is string passed by reference in java?
What is a string token?
What are the 4 types of research methods?
What is a generic code?
What is the difference between static and non-static variables in java programming?
What does indexof return in java?
How do you classify Dialog Box?
What is meant by interface?
Is a char always 1 byte?
What are the advantages and disadvantages of reference counting in garbage collection?
Is array a class?