I was wondering if it is possible to create a window using SWT, which has either a transparent background or no background (i.e. just buttons and texts are displayed floating). A.
I tried using the setBackground() function, for example:
shell.setBackground(display.getSystemColor(SWT.TRANSPARENT));
but it just shows a window with a black background, not a transparent one. any way to do this?
source share