Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the preferred size of a component?

Answers were Sorted based on User's Feedback



What is the preferred size of a component?..

Answer / iram zaib

preferred size of a component is the minimum size at which
it display normally

Is This Answer Correct ?    57 Yes 9 No

What is the preferred size of a component?..

Answer / ranganathkini

When frames or containers are designed using layout
managers, each layout manager imposes certain rules on how
the components within the container must be placed and
sized. Components cannot impose their required size on the
layout manager hence they use the "preferred size" attribute
to suggest to the layout manager of what wud be the ideal
size/location to display them.

The layout manager looks at the preferred size requested by
the components while laying them out in the container. If
the preferred size can be given to the component without
violating the layout manager's rules then the layout manager
uses the preferred size for that component.

Is This Answer Correct ?    37 Yes 14 No

What is the preferred size of a component?..

Answer / 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

More Core Java Interview Questions

What is enhanced loop in java?

0 Answers  


Which is the best way of exception handling?

2 Answers   Oracle,


Is finalize() similar to a destructor?

0 Answers  


How many digits is int32?

0 Answers  


What is codebase?

0 Answers  


What are the observer and observable classes?

1 Answers  


What are inner classes or non static nested classes in java?

0 Answers  


What is the difference between integer parseint and integer valueof?

0 Answers  


using equals method overriding which objects are compared?i.e same class objects or other class objects?Explain me.

4 Answers  


Will the compiler creates a default constructor if I have a parameterized constructor in the class?

0 Answers  


What is the concept of multithreading?

0 Answers  


How do you input a string in java?

0 Answers  


Categories