On 2014-05-07 6:22 PM, Etienne wrote:
On 2014-05-07 3:30 PM, Jacob Carlborg wrote:
On 2014-05-07 20:18, Etienne wrote:
Sweet, as I see it works and there's plenty of documentation about swt.
Not much can beat a 2.6MB standalone application with a 2mb footprint!
It could use a dub.json file though
Yeah, that's on my todo list.
and the Color object gives me a memory error when I close the window.
It does? Do you have a test case?
Yes :
Label label3 =
new
Label(shell, SWT.NONE);
label3.setSize(100,20);
label3.setLocation(30,150);
label3.setBackground(
new
Color(display,200,111,50));
label3.setText(
"Speak no evil"
);
I was looking at a quick tutorial here:
http://www.cs.umanitoba.ca/~eclipse/2-Basic.pdf
It works great without the setBackground