imagero jgui

JDJ JGui is nominated for the JDJ
Readers Choice Award 2005 in the category
"Best Java Component".
Vote for JGui now.

HomeImagero ReaderJGuiUnified I/OBugsServicesGalleryAboutContact

JGui
RainLayout
Download
Demo
Opera - The Fastest Browser on Earth

RainLayout is a multi-purpose LayoutManager.
Mainly it can be used like BoxLayout to stack components in horizontal or vertical direction.
However RainLayout can much more then BoxLayout:

  • easy switch between horizontal and vertical orientation
  • Components can be layed out in one row or in multiple rows
  • ordering of Components according to Comparator provided by target Container
  • row hiding: show only one row and hide all other rows
  • reverse Components and/or rows order

RainLayout has 5 policies which affects how components layed out and how computed preferred size:

Following constraints can be used to add Components:

  • RainLayout Constraints
  • RainLayout Constraints
© Andrey Kuznetsov