LightboxComponent
Shows one picture at full screen, with a caption and arrows to the next one.
Java
Inside a PanelComponent constructor. The same call draws in every family and chroma.
Java
GridComponent<Shot> grid = add(new GridComponent<>(at(new Box("shots", 10, 10, 280, 0)), 4, 40, 4, 4, shots,
Picture.cells(Shot::picture, Shot::name), shot -> viewer.open(this, shots.indexOf(shot))));
// Last, so that it is drawn on top and offered every input first, as a dialog.
viewer = add(new LightboxComponent(bounds()).pictures(shots.stream().map(Shot::picture).toList()));Variants
Grid

Open
