For my project I've needed to fullscreen form on Raspian (bellsoft-jdk11.0.11)
I founded a solution here.
Then converted to B4J
Thats all
I founded a solution here.
How to hide Taskbar in Fullscreen Mode JavaFx
I am currently writing a Game with JavaFx. I now want to make the game run in fullscreen mode. I have written the following code: public class Game extends Application { public static void main(
stackoverflow.com
B4X:
MainForm.Resizable=False
Dim jform As JavaObject = MainForm
Dim jStage As JavaObject=jform.GetFieldJO("stage")
jStage.RunMethod("setMaximized", Array(True))
jStage.RunMethod("setFullScreen", Array(True))
jStage.RunMethod("setFullScreenExitKeyCombination", Array(jform.InitializeStatic("javafx.scene.input.KeyCombination").GetField("NO_MATCH")))
MainForm.AlwaysOnTop=True
Thats all
Last edited: