This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
wood burning stoves
 
subject: SWT - switch an icon with a text string position.
 
Similar Threads
Javascript child window
JButton, icons and size.
IDE in GUI Development
updating ArrayList on parent from child window
Is this a bug..?