JPedal has a factory class that produces swing components to display form components. This factory can be replaced with your own implementation to support other GUI widget toolkits.
A Custom Component Factory can be created by implementing the form factory interface. By implementing this interface you can create components to display the forms using another widget toolkit of your choice. The factory has a series of methods that take in a FormObject and returns an Object. You will need to read the values from the FormObject and set up your own GUI component.
To use a custom form factory you will need add it using PdfDecoder.isExternalHandler(Object newHandler, int type). The value newHandler should be an object implementing the FormFactory interface. The value type should be the value Options.FormFactory
Have more questions? Ask us on Discord