I'm interested in doing the same as JavaFX does but using another language. I want to crate a simple interface on a system without X server installed.(I know that doing anything meaningful with it will be a pain) 
How does JavaFX takes control of the Raspberry Pi?
raspberry pi;framebuffer