This tutorial explains how to add buttons, menu items and other gui components to the existing Java PDF viewer.
How to access the various interface panels
JPedal has method designed to give you access to the interface panels so that you may add your own buttons and menu items.
The user may just add to the exsisting menu items at the begining of the panel by adding items before calling the viewer method setupViewer() or to the end of the panel by calling after the setupViewer() method. You may also completely replace the buttons provided by using the preferences options then add your own.
The following methods are used to access the different panels
Access MenuBar with SwingGui.getMenuBar() and returns a JMenuBar
Access Buttons with SwingGui.getTopButtonBar() and returns a JToolBar
Access Display Options with SwingGui.getDisplaySettingsBar() and returns a JToolBar
Access Side Tab Bar with SwingGui.getNavigationBar() and returns a JTabbedPane
Access Navigation Bar with SwingGui.getNavigationBar() and returns a JToolBar