Class WorkerTask

    • Field Detail

      • parent

        protected final JFrame parent
        Parent component
      • data

        protected final Object data
        Data for task
      • progressBar

        protected final JProgressBar progressBar
        Progress bar
      • cancelButton

        protected final JButton cancelButton
        Cancel button
      • glass

        protected final com.openstego.desktop.util.ui.WorkerTask.GlassPane glass
        Glass pane
    • Constructor Detail

      • WorkerTask

        public WorkerTask​(JFrame parent,
                          Object data,
                          boolean determinate)
        Default constructor
        Parameters:
        parent - Parent component
        data - Any data to be passed to task
        determinate - Flag to indicate whether task progress is determinable or not
    • Method Detail

      • start

        public void start()
        Method to execute task