Class DiffPanel.LoadDialog

    • Constructor Detail

      • LoadDialog

        public LoadDialog​(Dialog owner)
        Creates a modeless dialog without a title with the specified Dialog as its owner.
        Parameters:
        owner - the owning dialog
      • LoadDialog

        public LoadDialog​(Dialog owner,
                          Dialog.ModalityType modality)
        Creates a dialog with the specified owner Dialog and modality.
        Parameters:
        owner - the owning dialog
        modality - the type of modality
      • LoadDialog

        public LoadDialog​(Dialog owner,
                          String title)
        Creates a modeless dialog with the specified title and with the specified owner dialog.
        Parameters:
        owner - the owning dialog
        title - the title of the dialog
      • LoadDialog

        public LoadDialog​(Frame owner)
        Creates a modeless dialog without a title with the specified Frame as its owner.
        Parameters:
        owner - the owning frame
      • LoadDialog

        public LoadDialog​(Frame owner,
                          boolean modal)
        Creates a dialog with the specified owner Frame, modality and an empty title.
        Parameters:
        owner - the owning frame
        modal - whether the dialog is modal or not
    • Method Detail

      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class ApprovalDialog
      • checkInput

        protected String checkInput()
        Hook method for the "approve" button.
        Overrides:
        checkInput in class ApprovalDialog
        Returns:
        null if the input is valid, otherwise error mesage
      • getFirstFile

        public File getFirstFile()
        Returns the first file.
        Returns:
        the first file
      • getSecondFile

        public File getSecondFile()
        Returns the second file.
        Returns:
        the second file