O'Reilly logo
  • Michael ss thinks this is interesting:

Many layout managers do not honor these requests. However, BoxLayout and SpringLayout do.

From

Cover of Java Programming

Note

很多layout managers不会响应自定义尺寸,但boxlayout 和springlayout 支持