Please choose a menu option

RSS feed? News:

01 Mar 10 Version 4.01 build 15 released Turn pages from all corners, First implemetation of Java3D, Linearized PDF detection and more ...

04 Feb 10 Major new version New look, new page turning mode, enhanced search, code tidy up and much more...

15 Jan 10 Version 3.92 build 40 released Improvements to PageFlow mode and bug fixes for client issues. More Info...

8 Dec 09 Version 3.91 build 80 released Speed enhancements to image printing, optimisations for PDFs reusing XObjects and general improvements. More Info...

20 Nov 09 Version 3.91 build 60 released Enhancements to PageFlow mode, Applet regression fixed and improvements to non embedded text rendering. Read More ...

05 Nov 09 Version 3.91 build 15 released Enhancements to PageFlow viewing mode including reflection effect, improvements to Viewer configuration and general bug fixes. Read More ...

23 Sep 09 PDF Java Ebook Solution IDRsolutions is pleased to announce a new free service which embeds PDF's inside our viewer. A must for e-book authors and distributors. Read More ...

SimpleViewer as a JavaBean

This tutorial details how to integrate the SimpleViewer JavaBean component into the NetBeans GUI builder Matisse. Please note, you require version 3.71b13 or later.

Import the JavaBean into the Matisse Component Palette

For a complete tutorial on how to create a new project in NetBeans, and how to add a JavaBean to the component palette, please see our tutorial here.

Alternatively, assuming you already have an existing NetBeans project, and a Swing Form to place the SimpleViewer component onto, you can follow these brief instructions.

  1. From the Menu Bar select, Tools -> Palette -> Swing/AWT Components
  2. Click on "Add from JAR"
  3. Navigate to where you have saved the jpedal.jar file (download it from here).
  4. Select SimpleViewerBean from the list of available components
  5. Choose the palette category where you wish to add the component (ie, Swing Controls)
  6. Click "Close"

The SimpleViewerBean Component should now be available in your component palette.

Using the JavaBean

Once the JavaBean has been added to the component palette, you are ready to add it to your form. You can do this by dragging and dropping it from the palette, onto the form.

Once added, you can customize the SimpleViewer to suit your own specific needs.The viewer can be sized as required, and various properties (such as default document, opening page number, scaling factor, etc) can be accessed and set through the properties panel.

 

PDF viewer


PDF viewer