Class WorkerTask

    • Field Detail

      • parent

        protected JFrame parent
        Parent component
      • data

        protected Object data
        Data for task
      • progressBar

        protected JProgressBar progressBar
        Progress bar
      • cancelButton

        protected JButton cancelButton
        Cancel button
      • glass

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

      • WorkerTask

        public WorkerTask​(JFrame parent,
                          Object data,
                          boolean determinate)
        Default constructor
        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