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 sorting in java?
What is parse method?
What is the difference between abstraction and encapsulation?
Is namespace same as package in java?
Which is the class in java?
What are the two types of java?
How many bits is a boolean?
Explain the importance of throwable class and its methods?
What two classes are used to read data only?
java program with complete 4 oops concepts implemented example
How do you add an element to a hashset in java?
What is a default constraint?
How would you dynamically allocate memory to an array?
Does a function need a return?
Give reasons supporting that string is immutable.