File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "component areas" Watch "component areas" New topic
Author

component areas

Mahen
Greenhorn

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
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
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
Hi
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
Shay
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Mahen
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.
Thanks,
Cindy

"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: component areas