hello, what the initialize method does? I am kinda confuse . What are those arguments passed URL, ResourceBoundle for or what they do? All my project I did was without an initialize method. I did it like this, for example for buttons: @FXML void pressPlay(ActionEvent event) throws FileNotFoundException { playMusic(); }
Hi, how do you make the side panel/slider not visible at first. I’m currently woking on a project and I would like the slider to be hidden until someone clicks on the Menu icon. Thank you.
Start at 11:16
Amazing ;) It is really cool ;)
hello, what the initialize method does? I am kinda confuse . What are those arguments passed URL, ResourceBoundle for or what they do? All my project I did was without an initialize method. I did it like this, for example for buttons:
@FXML
void pressPlay(ActionEvent event) throws FileNotFoundException {
playMusic();
}
The next step is to make the slider resizable!
wow. beautiful
Hi, how do you make the side panel/slider not visible at first. I’m currently woking on a project and I would like the slider to be hidden until someone clicks on the Menu icon. Thank you.
Thats really awesome. But in general, are JavaFX Applications or Desktop applications in general still relevant in 2021?
Why not?
Lol, desktop applications will be relevant as long as desktops are there
Yes, I'm building my own desktop applications hahahah.
I'm struggling to get the :hover working in the css file. I think my .css file and fxml file are not properly connected. Do you have any suggestions?
If you're using Scenebuilder, click on your root Pane
In properties :
Stylesheet ( add your css file ) and everything is good
Parabéns!
How you do it without fxml?
Which libraries are needed?
jfoenix
github.com/sshahine/JFoenix
I can't add the image view into the jfxbutton
You can use FontAwesomeIcon
Thx ! Where do you find your icons?
icons8.com/app/windows
Anyone else’s scenebuilder crash all the time?
No, mine works perfectly.