All Stories

Linearized PDF files

Linearized PDF is a special way to organize a PDF file. In general, the PDF is a very elegant and well-designed format. A PDF...
Mark Stephens
1 min read

Search in continuous mode and future plans

For some time the Jpedal library has had the ability to search exclusively in single page mode. For our release of Jpedal 4.0 we...
Kieran France
1 min read

Java printing of custom Swing Components

If you are implementing printing in Java, there is a really good tutorial showing how to add printing support to any Swing component. Printing...
Mark Stephens
1 min read

Java File handling – when is a file actually…

Consider the following code…. File ff=File.createTempFile(“page”,”.bin”, new File(ObjectStore.temp_dir)); BufferedOutputStream to = new BufferedOutputStream(new FileOutputStream(ff)); to.write(currentDisplay.serializeToByteArray(null));          to.flush();            to.close(); pagesOnDisk.put(key,ff.getAbsolutePath()); It stores...
Mark Stephens
37 sec read

Printing PDF files from Java

Printing PDF files from Java is something that raises a lot of general questions, so this short article is a general guide to the...
Mark Stephens
1 min read