B4J Question Can anyone show me how to solve this issue?

Marco Gioia

Member
Licensed User
Hi everyone,

if I show fx.PrimaryScreen.MaxX and fx.PrimaryScreen.MaxY using the IDE I got 1200,972
If I show them using the jar i got 1024,794

Why?

Thanks in advance
 

Roycefer

Well-Known Member
Licensed User
Longtime User
Run this code in both modes:
B4X:
Dim borg As AWTRobot
Dim screens As List = borg.ScreenGetDimensions
Log("Screens: " & screens)
and post the results. You will need the jAWTRobot library.
 
Upvote 0

Marco Gioia

Member
Licensed User
Run this code in both modes:
B4X:
Dim borg As AWTRobot
Dim screens As List = borg.ScreenGetDimensions
Log("Screens: " & screens)
and post the results. You will need the jAWTRobot library.

It's the same
Thank you!

This may seem a stupid question, but it did spring to mind first.
You are running them on the same machine?
I would also add....
Are you running on the same OS?

It was not such a stupid question ;)
 

Attachments

  • 2018-05-31 at 08-24-03.zip
    367.9 KB · Views: 200
Upvote 0
Top