0

I know the following Java Swing layout managers: FlowLayout, BoxLayout, BorderLayout, GridLayout, GroupLayout (which I avoid using), and GridBagLayout.

I call GridBagLayout a fixed-size layout manager as it defines rows and columns with fixed size. I would not use it in a responsive application if I want all my panels to be resizable. I would try to combine a few of the other layout managers instead.

Out of curiosity I'm considering adopting a new layout manager, SpringLayout, for an app revamp. But after glancing at the documentation I'm under the impression SpringLayout is a fixed-size layout manager as well. So, is it? Will it hurt my app's responsiveness?

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
Piovezan
  • 3,215
  • 1
  • 28
  • 45

0 Answers0