B4J Question Disable javafx virtualkeyboard on raspberry

micro

Well-Known Member
Licensed User
Longtime User
Hi
I can not disable the VirtualKeyboard in javafx (openjfx 8u40) on raspberry
https://wiki.openjdk.java.net/display/OpenJFX/VirtualKeyboard+User+Experience+Documentation
I put and modify in javafx.platform.properties this line but the keyboard always appears.
javafx.platform.properties is in "/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/lib"

B4X:
javafx.platform=monocle
monocle.glass.platform=Monocle
monocle.prism.order=es2,sw
monocle.prism.eglfb=true
monocle.prism.lcdtext=false
monocle.prism.maxvram=128m
monocle.prism.targetvram=112m
monocle.use.egl=true
monocle.use.gles2=true
monocle.embedded=monocle
monocle.com.sun.javafx.isEmbedded=false '<
monocle.com.sun.javafx.touch=false '<
monocle.com.sun.javafx.virtualKeyboard=none '<
monocle.doNativeComposite=true
monocle.com.sun.javafx.scene.control.skin.FXVK.cache=true
monocle.prism.glDepthSize=0
monocle.com.sun.javafx.gestures.zoom=true
monocle.com.sun.javafx.gestures.rotate=true
monocle.com.sun.javafx.gestures.scroll=true
gtk.com.sun.javafx.scene.control.skin.ListViewSkin.pannable=true
gtk.com.sun.javafx.scene.control.skin.TreeViewSkin.pannable=true
gtk.com.sun.javafx.scene.control.skin.TableViewSkin.pannable=true
gtk.glass.platform=gtk
gtk.prism.order=sw
gtk.com.sun.javafx.isEmbedded=false '<
gtk.com.sun.javafx.touch=false '<
gtk.com.sun.javafx.virtualkeyboard=none '<
gtk.com.sun.javafx.scene.control.skin.FXVK.cache=true
gtk.com.sun.javafx.gestures.zoom=true
gtk.com.sun.javafx.gestures.rotate=true
gtk.com.sun.javafx.gestures.scroll=true

I also tried with SetSystemProperty..... in b4j but nothing
This is a real problem for me because i prefer to use a custom keyboard and show it only when i want.
Is possible find a solution?
Thanks
 

micro

Well-Known Member
Licensed User
Longtime User
Hi
possible that there is not a solution?
The appearance of the virtual keyboard is strange
if I install raspbian (clean installation) and start to debug the application on raspberry the virtual keyboard does not appear.
After a few days of changes to the program and tests (debug) the virtual keyboard reappears.
:(
 
Upvote 0

micro

Well-Known Member
Licensed User
Longtime User
Hi
there is a way to intercept the pressure of the Hide button on javafx keyboard?
See image, thanks.
 

Attachments

  • fxvk.png
    fxvk.png
    37.2 KB · Views: 514
Upvote 0
Top