B4J Question [SOLVED] Screen Keyboard + Build standalone package

rosippc64a

Active Member
Licensed User
Longtime User
Hi All,
I have to use a screen keyboard. I found the javafx keyboard, works well (I needed accented characters also őúűöüóáéí) with my program running from IDE. When I build a standalone package, there is no screen keyboard appear.
I manually modified the build/bin/release_java_modules.txt, added params from the start of file like this:
B4X:
-Duser.country=HU -Duser.language=hu -Dcom.sun.javafx.isEmbedded=true -Dcom.sun.javafx.touch=True -Dcom.sun.javafx.virtualKeyboard=native
So now I have screen keyboard in release mode.
But I have to do this manually before all single case of building standalone package.

Is there some automatic method to do this?

thank you
Steven
 
Last edited:

rosippc64a

Active Member
Licensed User
Longtime User
I started to build my app by b4jpackager11 and a json file.
The comment link is:
B4X:
ide://run?file=%B4X%\B4JPackager11.jar&Args=%PROJECT%/LSZAMLAWRK.json
The json file is:
B4X:
{
  "IncludedModules": "jdk.charsets, javafx.web, jdk.crypto.ec",
  "IconFile": "..\\files\\ikon.ico",
  "InputJar": "D:\\B4J\\LEICHSZAMLARK\\Objects\\LSZAMLAWRK32.jar",
  "VMArgs": "-Duser.country=HU -Duser.language=hu -Dcom.sun.javafx.isEmbedded=true -Dcom.sun.javafx.touch=True -Dcom.sun.javafx.virtualKeyboard=native"
}
The standalone app built like this include the screen keyboard and works well.
thank you!
 
Upvote 0
Top