aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.