All Stories

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

Two issues with Java File access for temporary files

In theory, Java has a very flexible and powerful set of commands for manipulating Files. The File object allows you create a File or...
Mark Stephens
51 sec read