Button with an embedded Image

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Button with an embedded Image

Postby mps@MPowerIT.com » Fri Oct 03, 2003 8:16 am

I can manually associate an Image with a Button using the Button.setImage() call, but I cannot figure out how to do it through the designer.

When I click on the image property of a Button in the designer, I get the elipses (...) that brings up a blank lined window without any way (that I can figure out) to add images to it.

Maybe this is just something that is not available in the free version?
Micah Silverman, CISSP
M*Power Internet Services
45 Thorney Ave. * Huntington Station, New York 11746
Posts: 1
Joined: Fri Oct 03, 2003 8:11 am

Postby admin » Sun Oct 05, 2003 11:42 pm

No, this feature should work for any version.
Designer shows in dialog after "..." images from workspace (!) in folders below class. I.e. if you have class in package com.somecompany, you can create in this package folder "images", place here some images, do refresh in Eclipse and then select image.
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Return to SWT Designer

Who is online

Users browsing this forum: Google [Bot] and 1 guest