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

Chapter 6. SWT Buttons > Creating Push-Style Buttons

6.1. Creating Push-Style Buttons

The most common use of buttons in a GUI is to enable the user to click in order to initiate some action or process. For this purpose, you use the standard SWT.PUSH-style button, often referred to as a command button.

6.1.1. How do I do that?

Example 6-1 creates a window with a standard SWT.PUSH button.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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