JPedal includes a very comprehensive PDF viewer which makes use of both Swing and JavaFX for the best possible viewing solution. It is written in Java but can be run from other languages or command line.
If you do not have a JPedal, you can download a trial copy from here.
PDF Viewer from Command Line or another language
java -jar jpedal.jar --view "pdfFile.pdf"
PDF Viewer in Java
Viewer viewer = new Viewer(rootContainer, null); viewer.setupViewer();
This uses the JPedal Viewer class.
Simple Swing Code Example
As part of the Jpedal jar, we have provided an example class that adds the JPedal Viewer onto another Java pane.
As well as adding the Viewer to your own application you can also customize the Viewer to control which options are present using the Viewers properties file.
Once you have created a properties file that displays the options you require it can be loaded by the Viewers constructor shown above. To do this you just need to pass in the file's path as the second parameter.