eeBlueShadow
asked on
awt Container painting
Hi all,
What's the minimum I need to do to a get a Container to display a Component?
If it depends on a lot of things, then I'll give more details, but I think my problem is just a basic misunderstanding of the concept of drawing things
What's the minimum I need to do to a get a Container to display a Component?
If it depends on a lot of things, then I'll give more details, but I think my problem is just a basic misunderstanding of the concept of drawing things
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes not much needs painting if the size is zero ;)
ASKER
I missed this line in the documentation:
For performance reasons, Components with zero width or height aren't considered to need painting when they are first shown, and also aren't considered to need repair
Maybe I didn't make the question quite clear enough, but I wanted an answer which included all the small things like making the component visible and things like that
Thanks anyway :)