Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
JavaFX stages 🎭
Play lesson

JavaFX - JavaFX stages 🎭

5.0 (2)
47 learners

What you'll learn

This course includes

  • 4.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

JavaFX stage tutorial explained #javafx #tutorial #stage package application; import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.image.Image; import javafx.scene.input.KeyCombination; import javafx.scene.layout.BorderPane; import javafx.scene.paint.Color; public class Main extends Application { public static void main(String[] args) { launch(args); } @Override public void start(Stage stage) throws Exception { //Stage stage = new Stage(); Group root = new Group(); Scene scene = new Scene(root,Color.BLACK); //Image icon = new Image("icon.png"); //stage.getIcons().add(icon); //stage.setTitle("Stage Demo Program w00t w00t"); //stage.setWidth(420); //stage.setHeight(420); //stage.setResizable(false); //stage.setX(50); //stage.setY(50); //stage.setFullScreen(true); //stage.setFullScreenExitHint("YOU CAN'T ESCAPE unless you press q"); //stage.setFullScreenExitKeyCombination(KeyCombination.valueOf("q")); stage.setScene(scene); stage.show(); } } –––––––––––––––––––––––––––––– Up In My Jam (All Of A Sudden) by - Kubbi https://soundcloud.com/kubbi Creative Commons β€” Attribution-ShareAlike 3.0 Unportedβ€” CC BY-SA 3.0 Free Download / Stream: http://bit.ly/2JnDfCE Music promoted by Audio Library https://youtu.be/tDexBj46oNI ––––––––––––––––––––––––––––––

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere