Patch One: Recent Files Feature

Notes from my first GSoC patch — implementing the recent files feature for PDFDebugger and a lesson on Java's Preference API.

Main code for this patch was ready for GSOC as I've coded it earlier for PDFReader of the PDFBox tools. So it was just about reusing the RecentFiles class with PDFDebugger.

From this patch I've learnt an interesting thing. In RecentFiles class I've used Preference API of java to store application preference data. Preference API gives you one instance per Package.

PDFReader and PDFDebugger both are in same the package so they show the same recent files log. Though I was first confused about the behaviour and was planning to move PDFDebugger to a new package but Tilman happened to like it :). So a potential bug became a feature. :)

Jira comment of the patch