[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
JavaFX Java GUI Tutorial – 1 – Creating a Basic Window
by
Tags:
Comments
26 responses to “JavaFX Java GUI Tutorial – 1 – Creating a Basic Window”
-
have u created any voice to text application in java fx?
-
hi π can you help me?? how to use button.performclick() like c# in javaFx???
-
Hello there. It looks to me that Stage is kind a similar to JFrame and the Scene is more like a Pane… is that correct?
-
fuck me ive almost got the hang of swing only to figure out swing is getting replaced by javafx
-
Don't you use SceneBuilder?
-
Wonderful tutorial..excellent explanation..
-
Daaaaamn…. I started studying Java like a month ago, this is totally new to me but I actually understood a lot and learned a lot from that video. Great job! Keep it going! π
-
would you make a tutorial using JavaFX Scene builder ?
-
BU-ON really?
-
Hello friend, nice video)
But i have got some problem))))
My button does not visible.))what is the problem with this?
PS
My Code
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;public class Main extends Application {
Button button;
Stage window;@Override
public void start(Stage primaryStage) throws Exception{
Parent root = FXMLLoader.load(getClass().getResource("sample.fxml"));
primaryStage.setTitle("Hello World");button = new Button();
button.setText("Click");StackPane layout = new StackPane();
layout.getChildren().add(button);
button.setVisible(true);primaryStage.setScene(new Scene(root, 300, 275));
primaryStage.show();
}public static void main(String[] args) {
launch(args);}
} -
I get an error compiling this thing: "Error:(9, 27) java: illegal character: 'ufeff'". import javafx.scene.Scene;
-
"Clam jammed"…Bahahahahaaaa!!!! Thank you for that little piece of awesome in my day!!! Great videos! Thank you!! π
-
You finally use IntelliJ xd
-
you are the best
-
Amazing tutorial, very easy to understand and also your english is quite simple for non native english speakers (like me). Congratulations and thanks for the contribution π
-
Fantastic video. Thank you for this!
-
import javafx.*
that will import the whole damn thing…. π
-
You are awesome Bucky π
-
I can't believe that.
Just searched on YouTube "JavaFX tutorial" and the first video shown up is from the same guy who learned me about Android programming.
Very nice job Bucky.
Thank you! -
Hey man can you make a tutorial for a simple game in JavaFX. I follow your Swing tutorial but I just realized it's dead.
-
holy shit this made so much more sense than how my professor showed us!! i instantly understood it, thank you!!
-
How to "launch" it in other class(not in main)? Cause it takes "args" for launching
-
hey i remember this voice. I learned Java from you back in 2013 π
-
Awesome demo. Please, don't apologize "I go over this very quick". We can replay the video, download and test example, etc. If nothing helps, we will ask a question in comments.
-
why do u write Button button at the top instead of initializing it all in one sentence below
-
Awesome video! Best JavaFX tutorial I've found!
Leave a Reply