سؤال

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