Class MyGUISecurityCallback

  • All Implemented Interfaces:
    SecurityCallback

    public class MyGUISecurityCallback
    extends Object
    implements SecurityCallback
    This class is reference code for displaying a password dialog box for encrypted PDF documents.
    Since:
    1.1
    • Constructor Detail

      • MyGUISecurityCallback

        public MyGUISecurityCallback​(Frame frame,
                                     ResourceBundle messageBundle)
        Create a new instance of a SecurityCallback. This class displays a dialog when the requestPassword method is called to retrieve the document's password from the user.
        Parameters:
        frame - frame that the dialog will be centered on.
        messageBundle - message bundle for i18n.