B4J Code Snippet Full Screen Form - androh    Aug 20, 2021   (12 reactions) For my project I've needed to fullscreen form on Raspian (bellsoft-jdk11.0.11)
I founded a solution here.
https://stackoverflow.com/questions/53536042/how-to-hide-taskbar-in-fullscreen-mode-javafx
Then converted to B4J
MainForm.Resizable=False
Dim jform As JavaObject = MainForm
Dim jSt B4J Tutorial Raspberry Pi B4J UI Applications with Liberica JDK - rwblinn    Apr 09, 2019   (28 reactions) Maximize Screen
As mentioned, the application runs in full screen.
When setting the Project Attributes MainFormWidth and MainFormHeight to a certain value, which is smaller then the full screen size, the form is displayed as sub window from the full screen.
Recommend to set the form to full screen.
B4J Tutorial B4J and Raspberry Pi boards - Erel    Dec 05, 2018   (9 reactions) UI apps will run in a full screen mode. You cannot resize the window and there is no close button. Be sure to include one in your program. You can also kill it through SSH:
ps -A|grep java
kill <pid>
You will probably need to add more memory to the video card in the board settings, otherwise you B4J Tutorial Maximize, minimize, restore and full screen (programmatically) - rtek1000    Mar 17, 2021   (13 reactions) GetField("stage")
stage.RunMethod("setMaximized", Array As Object(False))
End Sub
Private Sub minimizeMe
Dim jmf As JavaObject = MainForm
Dim stage As JavaObject = jmf.GetField("stage")
stage.RunMethod("setIconified", Array As Object(True))
End Sub
Private Sub Button1_Click
s B4J Question play fullscreen video with text overlay - FrancescoS (first post)    Feb 18, 2023   (1 reaction) thanks TILogistic, but I need full screen video without corner.
I have found a solution to show text:
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("Layout1")
MainForm.Show
Dim jmf As JavaObject = MainForm
Dim m As MediaPlayer
B4J Tutorial [ABMaterial] Making Responsive Apps - please contribute your expertise! - Harris (first post)    Nov 30, 2020   (4 reactions) The BuildInputSheet()
If the device is a phone or tablet, make the modal sheet full screen (use full width and height on these devices).
This is the only way I can deal with the form factor - currently.
Sub BuildInputSheet() As ABMModalSheet
Dim inp As ABMModalSheet
inp.Initialize(page, "in B4J Tutorial SithasoDaisy TailwindCSS UI Toolkit: Q & A - Mashiane (first post)    Aug 15, 2023   (2 reactions) My apologies, this was on my todo list for 1 but on 2. Please download the lib again. This is what had to be done. (a) on small devices, the modal should be full screen and when the size is set (b) use that size. It has been fixed.
Thanks for the heads up. B4J Question Internal Designer no update the Form after create variant. - zed (first post)    Jan 08, 2024   (2 reactions) You can change the dimensions of the form in different ways like this #Region Project Attributes #MainFormWidth: 1024 #MainFormHeight: 768 #End Region or with code 'Full Screen MainForm.WindowWidth = fx.PrimaryScreen.MaxX - fx.PrimaryScreen.MinX MainForm.WindowLeft = fx.PrimaryScreen.MinX B4J Question lock and unlock windows screen - Erel (first post)    Oct 19, 2017   (1 reaction) Full screen: https://www.b4x.-screen.35775/#post-210190 Also set Form.AlwaysOnTop to true. B4J Question top most and fullscreen games - hossein16    Apr 13, 2023 hi
this is code for "setAlwaysOnTop":
Sub setAlwaysOnTop(frm As Object, Value As Boolean)
Dim frmJO As JavaObject = frm
Dim stage As JavaObject = frmJO.GetField("stage")
stage.RunMethod("setAlwaysOnTop", Array(Value))
End Sub
but, not working on fullscreen games
What is the solution?
Page: 1   2   3   4   5   6   7   Powered by ColBERT |