Skip to main content

WrapLayout

2 replies [Last post]
fommil
Offline
Joined: 2006-11-26
Points: 0

Hi,

is there an equivalent of this in SwingX? (or a standard J2SE solution now)

http://tips4java.wordpress.com/2008/11/06/wrap-layout/

If not, can you please include it?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kleopatra
Offline
Joined: 2003-06-11
Points: 0

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

Cheers
Jeanette

fommil
Offline
Joined: 2006-11-26
Points: 0

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.