I'm trying to add an image to a button (eSWT Button).
The image is corectly added to the button but the rest of the button which is not covered by the image is visible to the user.
Is there a way to have only the image visible?
The code I'm using is the following:
Thank you for your time!Code:myButton = new Button(this, SWT.PUSH); myButton.setImage(new Image(display, MyClass.class.getResourceAsStream("/icons/test.png")));