is there an equivalent of this in SwingX? (or a standard J2SE solution now)
If not, can you please include it?
short answer: no.
Flow/WrapLayout is-a LayoutManager (aka: not aware of max), feel free to extend/implement as LayoutManager2 and contribute, tests required :-)
Thanks for the rfe http://java.net/jira/browse/SWINGX-1505, could be added to the next release
btw, if this is included in SwingX I'd like to request one extra feature of the WrapLayout: to respect the maximumSize property. That makes it a lot easier to use in GUI Editors.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.