In Part 2 of a series of articles regarding the JPedal Version 5.X update we explore the big changes that this update will bring.
If you have been following our blog articles, you will know that our Version 5.X release is designed to add some major enhancements. For Forms, we will be adding 2 major enhancements:-
2. More flexible forms architecture. When we started writing the code we were focussed on converting the Forms so we created the GUI Swing components to represent the Form objects and allowed users to interact with them. We upgraded this so that we could also use it to generate other types of Forms (we have a version which creates Form components in the ULC Form library from Canoo) and it also produces HTML forms for our PDF to HTML5/SVG converter. However, this left us with several issues:-
a. A Swing component is problematic if you want to run code on servers in background threads.
b. Many users now want to use JPedal to access the actual Form data.
Internally we have always converted Forms into our own Java objects. So we now represent the FormObject as a Plain old Java object with a set of access methods for you. You will be able to access the Java version of the Form object as well as the GUI component representing it. The Swing Component is now created only when and if we need it and we sync the values internally between the FormObject and its GUI component.
So in version 5.X we will be giving you a far more powerful and flexible Form architecture to handle PDF forms with along with a whole load of updated documentation. We hope you are as excited as we are!
This post is part of our “SVG Article Index” in these articles, we aim to help you build knowledge and understand SVG.
Latest posts by Mark Stephens (see all)
- My experience of a Turkish bath (visiting Istanbul for DevFest) - November 24, 2017
- My 5 key takeaways from JavaOne 2017 - October 6, 2017
- My notes and pictures from thursday JavaOne 2017 - October 5, 2017
- My notes and pictures from Wednesday JavaOne 2017 - October 5, 2017
- My notes and pictures from Tuesday JavaOne 2017 - October 4, 2017