Opaque Containers
When a container paints itself, it first paints its background and then triggers an avalanche of “component painting.” That is, each component paints itself before any of the components it contains. This ensures that the background of a panel is visible only where it is notcovered by one of its components.
Containers can either be opaque or transparent. This property is set using setOpaque(true) or setOpaque(false), respectively. Painting, as described above, occurs when a container is opaque. But when a container is transparent, something more complicated and time intensive occurs.
What extra work is needed when a container is transparent?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.