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
How do you sort data in java?
How many inner classes can a class have?
Compare overloading and overriding?
Can an interface be final?
How finally used under exception handling?
How thread scheduler schedule the task?
How is a structure different from array ?
What is a parameter example?
What is thread life cycle in java?
How do you decide when to use arraylist and linkedlist?
Difference between default and protected access specifiers?
What is the preferred size of a component in java programming?
How do you use compareto method?
How are multiple inheritances done in Java?
Is string a datatype?