I've add a new property in the Properties manager PROPERTY_UTILITYPANE_THUMBNAILS_ZOOM which can be used the change the default zoom level from 0.1f to what ever value one would like.
Here's an example of how it would be used.
PropertiesManager properties =
new PropertiesManager(System.getProperties(),
ResourceBundle.getBundle(PropertiesManager.DEFAULT_MESSAGE_BUNDLE));
properties.setFloat(PropertiesManager.PROPERTY_UTILITYPANE_THUMBNAILS_ZOOM, 0.3f);
SwingViewBuilder factory = new SwingViewBuilder(controller, properties);
controller.getDocumentViewController().setAnnotationCallback(
new org.icepdf.ri.common.MyAnnotationCallback(
controller.getDocumentViewController()));
JPanel viewerComponentPanel = factory.buildViewerPanel();
JFrame applicationFrame = new JFrame();
applicationFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
applicationFrame.getContentPane().add(viewerComponentPanel);
controller.openDocument(filePath);
I've add a new property in the Properties manager PROPERTY_UTILITYPANE_THUMBNAILS_ZOOM which can be used the change the default zoom level from 0.1f to what ever value one would like.
Here's an example of how it would be used.
PropertiesManager properties =
new PropertiesManager(System.getProperties(),
ResourceBundle.getBundle(PropertiesManager.DEFAULT_MESSAGE_BUNDLE));
properties.setFloat(PropertiesManager.PROPERTY_UTILITYPANE_THUMBNAILS_ZOOM, 0.3f);
SwingViewBuilder factory = new SwingViewBuilder(controller, properties);
controller.getDocumentViewController().setAnnotationCallback(
new org.icepdf.ri.common.MyAnnotationCallback(
controller.getDocumentViewController()));
JPanel viewerComponentPanel = factory.buildViewerPanel();
JFrame applicationFrame = new JFrame();
applicationFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
applicationFrame.getContentPane().add(viewerComponentPanel);
controller.openDocument(filePath);