DS3 with JInput: How to?

First of all, I’m using MotionJoy for my DS3 controller, and I need to find out how to use it to make a small browser, based off the JavaFX SwingInterop.jar. How does one do so?

(By the way, I’m new here)