Please choose a menu option

RSS feed? News:

19 Aug 10 Version 4.36 build 60 released JPedal can now read PDF's aloud using the Freetts library, improvements to signing and mouse functions, enhancements to Font and Javascript engines. More Info...

29 Jul 10 JPedal Java ME Viewer Now released and available under an LGPL licence More Info...

12 Jul 10 Version 4.30 build 16 released Enhanced Print dialog, Control via Javascript and Applet enhancements Read More ...

10 Jun 10 Version 4.21 build 56 released Major speed improvements to viewer and general parsing speed. Read More ...

10 Jun 10 JBig 2 image decoder Version 2 released Major Upgrade to JBig2 image decoder - 3-5 times faster. Read More ...

03 Jun 10 Version 4.20 build 21 released Major Upgrade to TrueType font engine supporting Chinese fonts, speed improvements. Read More ...

22 Apr 10 EBook reader encryption Pjes now handles encrypted PDFs - upload an Encrypted PDF, and everyone will need the password to open it.
Ebook reader...

19 Mar 10 Version 4.10 build 16 released First implementation of JPedal in JavaME, support for linearization of PDFs, Coons and Tensor shading support.Read More ...

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

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

Java PDF viewer as a JavaBean

This tutorial details how to integrate the Java PDF viewer JavaBean component into the NetBeans GUI builder Matisse.

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 Java PDF viewer 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 Java PDF viewer to suit your own specific needs.The PDF 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.

 

Return to main PDF support section

Click here for the main PDF support area with lots of java examples, PDF tutorials and useful information to get the most out of the JPedal PDF library

 


PDF viewer