final Slider width = new Slider(50, 10, 150);
final Slider height = new Slider(50, 10, 150);
Group sizeCtrl = new Group(AxisLayout.horizontal()).add(new Label("Size:"), width, height);
final Group group = new Group(new AbsoluteLayout());
group.layer.add(PlayN.graphics().createImmediateLayer(new ImmediateLayer.Renderer() {
Point pt = new Point();
@Override public void render (Surface surface) {
IDimension size = group.size();
position.point.get().resolve(size, pt);
surface.save();
surface.setFillColor(Colors.BLACK);