Compiling the hello world example fails (2)
alexanto at gmx.de
Thu Sep 12 09:45:19 PDT 2013
On Thursday, 12 September 2013 at 11:23:51 UTC, Jacob Carlborg
> On 2013-09-12 12:31, Anton Alexeev wrote:
>> OK, thanks for the links!
>> First noob question:
>> I need an icon for the window. The Shell class has a method
>> setImage(Image image). In Java there is a SWTResourceManager
>> I've looked around a bit in *.di files and found an Image and
>> ImageLoader classes. Maybe it could work but I don't know how
>> to create
>> a Java String...
>> ImageLoader imageLoader = new ImageLoader();
>> Image image = new Image();
> SWTResourceManager is not part of the standard SWT. It's seems
> to be a part of WindowBuilder. Here's an example of how to set
> the icon of a window:
> That site contains many other SWT tutorials as well.
Thanks a lot! One more question: how do I work with events?
More information about the Digitalmars-d-dwt