RuN_Love

For better life.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

Multiple style is available when we use SWT Button, we can choose on our will, but what do they look like of each style?

This problem came up when I was developing a plugin in Eclipse, now we've got all the style together with the actual feature.

In SWT, button widget consists of five buttons style.

1) Normal Button - SWT.PUSH
2) Arrow Button – SWT.ARROW
3) Toggle Button – SWT.TOGGLE
4) Check Box button – SWT.CHECK
5) Radio Button – SWT.RADIO


original page: http://www.mkyong.com/swt/swt-button-example/

posted on 2010-11-25 15:00  RuN_forever  阅读(545)  评论(0编辑  收藏  举报