This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes SWT - switch an icon with a text string position. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SWT - switch an icon with a text string position." Watch "SWT - switch an icon with a text string position." New topic
Author

SWT - switch an icon with a text string position.

Kee Kee moon
Ranch Hand

Joined: Dec 11, 2009
Posts: 147
Hi,

I am new in SWT, please help.

I have a button on top of the GU window, at the bottom of the UI window is a Group.
In the Group, there is an icon at the left, a text string right after the icon, line up in one row.

I have to switch the text string and icon after pushing the button, it will become the text string before the icon line up in one row.

Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: SWT - switch an icon with a text string position.