final UIPanel panel = new UIPanel();
panel.setForegroundColor(ColorRGBA.DARK_GRAY);
panel.setLayout(new RowLayout(true));
final UILabel staticLabel = new UILabel("Hello World");
staticLabel.setBackdrop(new SolidBackdrop(ColorRGBA.CYAN));
staticLabel.setLayoutData(BorderLayoutData.CENTER);
panel.add(staticLabel);
final UICheckBox rotatingLabel = new UICheckBox("Look at me! :)");
rotatingLabel.setBackdrop(new SolidBackdrop(ColorRGBA.GREEN));
rotatingLabel.setRotation(new Matrix3().fromAngleNormalAxis(45 * MathUtils.DEG_TO_RAD, new Vector3(0, 0, 1)));
panel.add(rotatingLabel);
final Matrix3 rotate = new Matrix3();
final Vector3 axis = new Vector3(0, 0, 1);