Re: Hiding a JTexfield from the GUI



Yes, this describes exactly what happen with my layout manager.
TablLayout goes for the first solution by default but let the
programmer choose to go for the second one.

-- quote

How are invisible elements treated?

1. Do they act as if they weren’t there at all? Do the other
elements move in to take over the vacated space? Is the visual effect
the same as removing them from the enclosing Container?
2. Is there just a blank hole marking their place?

It depends on the LayoutManager you choose. LayoutManagers are free to
choose either strategy.
.


Quantcast