C
Claus K.
Hello everyone,
I need to implement some controls on my own (for example, text + image
button with extended mouse functionality) for some pet project. I
would like to use SWT.
I have not understood completely which class to extend. Do I use
Component or do I use Control?
Is there a good example somewhere, especially for the drawing part?
Most examples I saw just painted on the shell itself, not on a control
as child of a shell...
Do I have to re-implement paint() and paint text and image in the
controls rectangle and this will be good, or am I missing something?
I need to implement some controls on my own (for example, text + image
button with extended mouse functionality) for some pet project. I
would like to use SWT.
I have not understood completely which class to extend. Do I use
Component or do I use Control?
Is there a good example somewhere, especially for the drawing part?
Most examples I saw just painted on the shell itself, not on a control
as child of a shell...
Do I have to re-implement paint() and paint text and image in the
controls rectangle and this will be good, or am I missing something?