Last active
March 10, 2019 12:15
-
-
Save ezhov-da/c45848a3bada45eed6e0202edb39c29e to your computer and use it in GitHub Desktop.
java fxframe вставляем форму в приложение
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javafx.application.Application; | |
import javafx.scene.Scene; | |
import javafx.scene.layout.BorderPane; | |
import javafx.stage.Stage; | |
import java.util.logging.Logger; | |
public class $NAME_CLASS extends Application { | |
private static final Logger LOG = Logger.getLogger(TestFrame.class.getName()); | |
@Override | |
public void start(Stage primaryStage) throws Exception { | |
BorderPane borderPane = new BorderPane(); | |
Scene scene = new Scene(borderPane); | |
primaryStage.setScene(scene); | |
primaryStage.setWidth(1000); | |
primaryStage.setHeight(600); | |
primaryStage.show(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment