File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes component areas Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "component areas" Watch "component areas" New topic

component areas


Joined: Feb 20, 2000
Posts: 23
what is the difference between
Allotted display area of component
Filling and anchoring area
Bounds of component
Components preffered size
and how do these areas for components determined
and how these get affected by other components
Tony Alicea

Joined: Jan 30, 2000
Posts: 3226
I am moving this question to the beginner forum where it may be a better fit...

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Shay Gaghe
Ranch Hand

Joined: Sep 03, 2001
Posts: 102
Components Size and Position are fully depends on them Layout Manager. therefor the get and set PreferedSize()let you choose your prefered size of the component as it shows on the GUI ,in athor words it let you determine the natural area the component will take.
best regards
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Please change your name to be compliant with JavaRanch's naming policy.
Your ID should be 2 separate names with more than 1 letter each. We really want this to be a professional forum and would prefer that you use your REAL name.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Don't get me started about those stupid light bulbs.
subject: component areas
It's not a secret anymore!