In the section entitled Web Start and Browser Application Properties, specify width and height values. In the Projects pane, right-click your NetBeans project and choose Properties. To specify application width and height in NetBeans project properties: You can even specify different width and height values in the project properties from what is specified in the code, so you can experiment to see what looks best in the browser. If you do not specify a width and height in the code, the window automatically sizes itself to fit the application.Īpplications that are embedded in a web page require that you set width and height values in the NetBeans project's properties, even if you specify width and height values in the code. With standalone and Web Start mode, the window is sized around the width and height values you specify for the scene in the code. Other Ways to Package JavaFX Applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |