In this tutorial I am going to create a transparent Stage (window) with JavaFX 2, this means that the application won't have a window around the image. In order to make Stage transparent we need to set StageStyle.TRANSPARENT. Also, I wanted here to add little close image, because I want to allow user to close application. Below you can take a look how our application will look in the end. You can use any image that you like for background, but I used this one: Background Image, and here you can download "close" image. |
Good work , there is not much resource on Java FX. keep it going
ReplyDeleteThanks
Javin
20 design pattern interview questions
Thanks for sharing my article. :) I am glad that you like it. Feel free to to read and share also other articles on my blog.
ReplyDeleteNo problem, thank you for leaving a comment.
ReplyDeletenice tutorial, but do you know how to drag and minimize the window?
ReplyDelete