• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. SWT Slider and ProgressBar > Creating a Moving Progress Bar

16.3. Creating a Moving Progress Bar

Example 16-3 doesn't show a moving Progress Bar; it simply hardcodes the progress at 50%. It's easy to create an example that simulates a long-running process, to demonstrate exactly how to create the moving-progress-bar effect.

16.3.1. How do I do that?

In Example 16-3, a button is added to the interface, to simulate the user taking action to initiate some process.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint