How to use Band Layout ?
The band Layout is used to draw band on the window.
BandPalette palette = new BandPalette();
palette.addPaint(PetalPalette.PETAL3_HC);
palette.addPaint(PetalPalette.PETAL4_HC);
DynBandManager bandDynLayoutX = new DynBandManager(BandLayoutManager.BAND_VERTICAL,0, 500);
bandDynLayoutX.setBandPalette(palette);
BandPainter1 bPainter1 = new BandPainter1();
bPainter1.setAlphaTransparence(1f);
BandLayout bLayout = new BandLayout(bandDynLayoutX);
bLayout.setPainter(bPainter1);
bLayout.setPriority(0);
w2d.registerLayout(bLayout);
//GRID Y
DynamicGridManager dglY = new DynamicGridManager(GridLayoutManager.GRID_VERTICAL,0,500);
dglY.setGridColor(Color.DARK_GRAY);
GridLayout gLayout = new GridLayout(dglY);
gLayout.setPriority(1);
w2d.registerLayout(gLayout);

