Class ProgressBarUpdator

  • All Implemented Interfaces:
    java.lang.Runnable


    public class ProgressBarUpdator
    extends java.lang.Object
    implements java.lang.Runnable
    • Constructor Summary

      Constructors 
      Constructor Description
      ProgressBarUpdator​(javax.swing.JProgressBar jpb)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run​()
      Action of the thread will be executed here.
      void setValue​(java.lang.Integer value)
      Sets the value to the progress bar
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProgressBarUpdator

        public ProgressBarUpdator​(javax.swing.JProgressBar jpb)
        Constructor
        Parameters:
        jpb - The progress bar this has to update
    • Method Detail

      • setValue

        public void setValue​(java.lang.Integer value)
        Sets the value to the progress bar
        Parameters:
        value - Value to set
      • run

        public void run​()
        Action of the thread will be executed here. The value of the progress bar will be set here.
        Specified by:
        run in interface java.lang.Runnable