nima66
Member
I want to publish the application.
The warning in the report is worrying me.
The height of the form must be from the top to the taskbar, the width must be 75% of the height of the form.
The only way is to use the getScreenSize command.
I get the height of the entire screen and then subtract the height of the taskbar from it
Is there another way?
Warning in the report:
I also used the MaxX and MaxY commands of the fx.PrimaryScreen command. But the height it gives is strange.
It neither gives the height of the entire screen nor the height of the taskbar!
Screenshot of the output of using fx.PrimaryScreen
The warning in the report is worrying me.
The height of the form must be from the top to the taskbar, the width must be 75% of the height of the form.
The only way is to use the getScreenSize command.
I get the height of the entire screen and then subtract the height of the taskbar from it
Is there another way?
Warning in the report:
B4X:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by anywheresoftware.b4j.object.JavaObject (file:/D:/Nima/source/club/game%20club%20time%20(windows)/Objects/club.jar) to method sun.awt.SunToolkit.getScreenSize()
WARNING: Please consider reporting this to the maintainers of anywheresoftware.b4j.object.JavaObject
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
I also used the MaxX and MaxY commands of the fx.PrimaryScreen command. But the height it gives is strange.
It neither gives the height of the entire screen nor the height of the taskbar!
Screenshot of the output of using fx.PrimaryScreen