Currently I'm creating application to work with PDF documents, just for challenge. I want to know if there is better solution to my idea of possible approach.
I broke down application GUI to four main components toolbar with image icons, jpanel for thumbnail preview, jpanel for single page view and main jpanel which group them together. Layout is same to traditional Acrobat Read and can be seen in attachment [attach]10534[/attach].
Now toolbar, thumbnail and single view panels need access and has to share a "PDFObject".( The PDFObject will of course have all necessary access methods.) What is bugging me is where would be best place to keep PDFObject. So far I can only thing of the main panel as best choice for "safe-keeper" and use parent-child relation of GUI components to manipulate PDFObject.
DO you approve or disapprove? How shall I go about this task?