SUN Releases Open Source 100% Java PDF Renderer/Viewer

We are releasing an Open Source 100% Java PDF Renderer/Viewer That's right, a 100% Java library which can parse PDF files and draw them to the screen. It's (creatively) named the SwingLabs PDF Renderer, and hosted at pdf-renderer.dev.java.net. It's the same license as the rest of SwingLabs (LGPL) so you can easily embed it in your own applications. Several of us inside the desktop Java team here at Sun have been working hard on getting this released and now it's finally here. Go check it out at pdf-renderer.dev.java.net.

So, you probably have a few questions. First of all:

Why should I care?

You should care because PDF is one of the formats that makes the web go 'round. Soon to be an ISO spec, PDF is the standard way of exchanging non-interactive documents on the web. Everything from tax forms to clip art can be stored in PDFs. Mac OSX makes heavy use of PDF both as an asset format (the many widget images found in Aqua) and also as an ideal archive format using AppleScript workflows. PDF is everywhere.

Once a PDF is created you know with great certainty that it will display and print exactly as you want on any platform. Hmm. Write a PDF once and run it anywhere? Sounds like a good fit for Java! Combined with PDF writing libraries (like iText), you can do pretty much anything you want with PDFs.

What can I do with it?

Anything you want! You can embed a PDF in your Swing app, draw on top of it, and even render to places other than the screen (like PNG images). The awesome guys over at Project Wonderland have even started experimenting with projecting PDFs into their 3D shared universe. Most importantly, we know you'll come up with things we never thought of. That's why we are open sourcing it.


Comments (0)
Write comment
Your Contact Details:
Comment:

Perspectives

What do sensors add to a decision support system?

Written byMatt Ball
on May 22, 2012

An often-quoted Business Week article from 1999 stated that, “In the next century, planet Earth will don an electric skin…”...

Is it time for focused publications that aim to make sense of change at both the global and local scales?

Written byMatt Ball
on May 15, 2012

Change is a constant that is inevitable, but what isn't inevitable are disruptive impacts. The more we know about our...

GeoEye Proposes to Purchase DigitalGlobe

Written byMatt Ball
on May 04, 2012

The mergers and acquisitions within the geospatial technology space are white hot right now, with news Friday that GeoEye approached...

Why did Trimble buy SketchUp, and why did Google sell?

Written byMatt Ball
on April 29, 2012

It’s funny, my first reaction to the Trimble buys SketchUp news was that it was some kind of spoof, and...

If Enhanced View cuts come, why not remove resolution restrictions?

Written byMatt Ball
on April 22, 2012

A feature in the New York Times outlines the battle that is brewing in Congress to defend the use of...

Tag Cloud

Current Readers