Your code doesn’t work, so you…
Monday, April 23rd, 2007Generally, before you look or ask for help, you will whine and complain about it verbally to anyone that is near you or to yourself. I did a bit of that before proceeding to examine the source code itself directly to try and discover the cause for my problem. I did not from the get go because eRCP does not bundle source plug-ins with their SDK downloads. Thus, I actually had to check this code out from CVS.
And behold, look what I’ve found!
public void setAlpha(int alpha) {
// do nothing, not supported for win or ppc
}
No wonder my GC doesn’t support transparency, code like this just might do it. It would’ve been nice if there was something in the javadocs, though, since SWT is advertised as being a “cross-platform widget toolkit”.