use of javafx.scene.layout.BorderPane in project Gargoyle by callakrsos.
the class AgendaSample1 method start.
/* (non-Javadoc)
* @see javafx.application.Application#start(javafx.stage.Stage)
*/
@Override
public void start(Stage primaryStage) throws Exception {
BorderPane root = new BorderPane(agenda);
root.setTop(this.agendaSkinSwitcher);
primaryStage.setScene(new Scene(root));
primaryStage.show();
}
use of javafx.scene.layout.BorderPane in project Gargoyle by callakrsos.
the class PMDCheckExam method start.
/* (non-Javadoc)
* @see javafx.application.Application#start(javafx.stage.Stage)
*/
@Override
public void start(Stage primaryStage) throws Exception {
// SwingNode swingContainerSplitPane = new SwingNode();
// SwingNode swingMenuBar = new SwingNode();
File file = new File("./src/main/java/com/kyj/fx/voeditor/visual/util/ValueUtil.java");
BorderPane root = new PMDCheckComposite(file);
// root.setBottom(new Label("javafx"));
// createSwingContent(swingContainerSplitPane, );
// createSwingContent(swingMenuBar, designerFx.getJMenuBar());
Scene value = new Scene(root, 1200, 800);
primaryStage.setScene(value);
primaryStage.show();
}
use of javafx.scene.layout.BorderPane in project jgnash by ccavanaugh.
the class TabViewPane method addTab.
public Tab addTab(final Node node, final String description) {
BorderPane borderPane = new BorderPane();
TitledPane titledPane = new TitledPane(description, null);
titledPane.setCollapsible(false);
titledPane.setExpanded(false);
titledPane.setFocusTraversable(false);
titledPane.getStyleClass().add(VIEW_TITLE);
borderPane.setTop(titledPane);
borderPane.setCenter(node);
Tab tab = new Tab();
tab.setText(description);
tab.setContent(borderPane);
getTabs().add(tab);
return tab;
}
Aggregations