The Artima Developer Community
Sponsored Link

Java Buzz Forum
SWT Button with Image and Text

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Vik David

Posts: 144
Nickname: fairbiased
Registered: Jan, 2005

Vik David is an independant consultant in Washington, DC.
SWT Button with Image and Text Posted: Sep 21, 2005 1:30 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Vik David.
Original Post: SWT Button with Image and Text
Feed Title: The Fair And Biased Blog
Feed URL: http://blog.vikdavid.com/index.rdf
Feed Description: On Software Development and related program activities ...
Latest Java Buzz Posts
Latest Java Buzz Posts by Vik David
Latest Posts From The Fair And Biased Blog

Advertisement
Every API has its quirks. I've been working with SWT lately, converting an AWT app over. I was happy to see that the SWT Button class has a setImage method in addition to the setText. I wanted our Buttons to have an Image with a textual description that follows. Well, it didn't work. After a little googling and thumbing through my SWT Developer's Notebook, I found out that it's not possible to display both at the same time. As always, there are workarounds. As a side note, it's intriguing to...

Read: SWT Button with Image and Text

Topic: karma updates: Code cleanups, Config changes and Namespace adaptation Previous Topic   Next Topic Topic: [ANN] karma jcr framework 0.3 released

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use