문제

It seems that I can do everything with a single Grid Layout--even tasks that might require multiple nested layouts if I did not use Grid Layout. Is a single Grid Layout a better approach than many different nested layouts?

도움이 되었습니까?

해결책

Most screens work very naturally with BorderLayout and it gives good resizing behavior to components inside it.

Personally I'd really rather nest various components inside a BorderLayout--possibly using Grid inside and possibly using others.

Experiment a lot with resizing behavior and see what you think.

Resizing is the key.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top