GroupBox / TitledBorder in JavaFX 2?
Is there something like a GroupBox or TitledBorder available on JavaFX 2? Thanks for any hint :-) jewelsea No such standard control, but it it is easy to create your own. Here is a sample implementation: /** Places content in a bordered pane with a title. */ class BorderedTitledPane extends StackPane { BorderedTitledPane(String titleString, Node content) { Label title = new Label(" " + titleString + " "); title.getStyleClass().add("bordered-titled-title"); StackPane.setAlignment(title, Pos.TOP_CENTER); StackPane contentPane = new StackPane(); content.getStyleClass().add("bordered-titled