All Stories

PDF text co-ordinates

There are several ways to define PDF text co-ordinates with PDF. When you see the text onscreen, you can see the actual character. The...
Mark Stephens
1 min read

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