All Stories

What is PDF pagesize?

Page size can cause some confusion with PDFs because there are several possible values. All PDF files have a MediaBox which defines the size...
Mark Stephens
1 min read

JButton backgrounds

We use a lot of JButtons in our Java PDF viewer and thought that the following observations might be of help to other Java...
Mark Stephens
1 min read

Java Printing page size problem

Java has a very flexible printing system called JPS which makes printing very easy. Any JComponent can be made to print its contents by...
Mark Stephens
1 min read

Java Memory leaks with FileChannel

It is a myth that Java has no ‘memory leaks’. It is certainly much better than developing in C and many of the gotchas...
Mark Stephens
1 min read

Saving Java images as Tifs wth JAI

Java makes it very easy to create images as BufferedImages which  can then be saved out in standard image file formats. Here is the...
Mark Stephens
1 min read