# Standalone toolbar and status bar Use JavaFX's `ToolBar` for toolbar content and NeitzelLib's `de.neitzel.fx.control.StatusBar` for left/right status content. Both accept ordinary application Nodes. They work in Java and ordinary FXML without a DockingManager, ViewLoader, ViewModel or initialized injection context. The toolbar deliberately reuses JavaFX's existing public control: its item list, orientation, overflow handling, accessibility and CSS already provide the required behavior. There is no second library toolbar API to learn. ## Java ```java var save = new Button("Save"); var toolbar = new ToolBar(save); var status = new Label("Ready"); var cursor = new Label(); cursor.textProperty().bind(editor.caretPositionProperty().asString("Offset %d")); var progress = new ProgressBar(); progress.progressProperty().bind(completedFraction); var statusBar = new StatusBar(); statusBar.getLeftItems().add(status); statusBar.getRightItems().addAll(cursor, progress); shell.setTop(toolbar); shell.setBottom(statusBar); ``` `getLeftItems()` and `getRightItems()` return live observable lists. Items retain their identity, properties and event handlers. Add, remove and reorder items on the JavaFX Application Thread. Ordinary JavaFX scene-graph ownership rules apply: a Node can appear in only one place at a time. Removing an item from its list detaches it; the application owns its resources and bindings. The left group stays at the left edge and the right group at the right edge while there is available space between them. A status bar's preferred size comes from its content. Parent layouts can stretch it to the window width. ## FXML ```xml