Well, i have figured most of it, and actually even kind of made it. I used JavaFX. I found that making the end display customizable, it would be hard if i use Java swing or just JavaFX. SO i decided on using the WebView from JavaFX which allows me to use a web app for displaying. And all the interaction, that is the touch screen thing can be handled by my java program and then passed to the WebView form.
The thing now is i am actually not using a touchscreen, but something along the lines, and i am not sure how to pass a custom event to the webview. Any tips on that?