All Stories

How do PDF text coordinates work?

There are several ways to define PDF text coordinates with PDF. When you see the text on the screen, you can see the actual...
Mark Stephens
58 sec read

What is PDF pagesize?

Have you ever wondered how big the page of a PDF Document is? This is a surprisingly complex question because a PDF file can...
Mark Stephens
1 min read

How to set a JButton background

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