First of all - eclipse SWT is great for this. You can evoke javascript functions from java and vice versa. And since the introduction of java 8 this even result in a very clean code!
## Preliminaries
Assuming you read [ATHEN - correctly write your own view](athen---how-to-correctly-write-your-own-view). This tutorial shows how to write the UI of your View using Web Technologies.